From a3565138372f4254f2a619f1cf0188af88fbc835 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 6 Oct 2022 21:50:06 +0000 Subject: [PATCH 1/7] feat: remove proto ReadEfficiencyStats feat: remove field RequestStats.read_efficiency_stats feat: rename proto AllReadStats to FullReadStatsView feat: rename field RequestStats.all_read_stats to full_read_stats_view feat: rename proto ReadIteratorStats to ReadIterationStats feat: remove enum value ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY feat: remove field ReadIterationStats.deletes_seen PiperOrigin-RevId: 479370243 Source-Link: https://github.com/googleapis/googleapis/commit/959d789bef1cb2a7706c474f8db36a04dc0724de Source-Link: https://github.com/googleapis/googleapis-gen/commit/38b425264c03f3cdca279503c801c86604c8a67a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzhiNDI1MjY0YzAzZjNjZGNhMjc5NTAzYzgwMWM4NjYwNGM4YTY3YSJ9 --- .../admin/v2/BigtableInstanceAdminGrpc.java | 2774 ----------- .../admin/v2/BigtableTableAdminGrpc.java | 3214 ------------- .../com/google/bigtable/v2/BigtableGrpc.java | 1041 ----- .../v2/BaseBigtableInstanceAdminClient.java | 3284 +++++++++++++ .../v2/BaseBigtableInstanceAdminSettings.java | 527 +++ .../v2/BaseBigtableTableAdminClient.java | 4128 +++++++++++++++++ .../v2/BaseBigtableTableAdminSettings.java | 560 +++ .../bigtable/admin/v2/gapic_metadata.json | 162 + .../cloud/bigtable/admin/v2/package-info.java | 67 + .../v2/stub/BigtableInstanceAdminStub.java | 206 + .../BigtableInstanceAdminStubSettings.java | 1237 +++++ .../admin/v2/stub/BigtableTableAdminStub.java | 230 + .../stub/BigtableTableAdminStubSettings.java | 1375 ++++++ ...cBigtableInstanceAdminCallableFactory.java | 113 + .../stub/GrpcBigtableInstanceAdminStub.java | 895 ++++ ...GrpcBigtableTableAdminCallableFactory.java | 113 + .../v2/stub/GrpcBigtableTableAdminStub.java | 994 ++++ .../data/v2/BaseBigtableDataClient.java | 1300 ++++++ .../data/v2/BaseBigtableDataSettings.java | 268 ++ .../bigtable/data/v2/gapic_metadata.json | 39 + .../cloud/bigtable/data/v2/package-info.java | 43 + .../bigtable/data/v2/stub/BigtableStub.java | 80 + .../data/v2/stub/BigtableStubSettings.java | 486 ++ .../v2/stub/GrpcBigtableCallableFactory.java | 113 + .../data/v2/stub/GrpcBigtableStub.java | 412 ++ .../BaseBigtableInstanceAdminClientTest.java | 1782 +++++++ .../v2/BaseBigtableTableAdminClientTest.java | 2360 ++++++++++ .../admin/v2/MockBigtableInstanceAdmin.java | 59 + .../v2/MockBigtableInstanceAdminImpl.java | 525 +++ .../admin/v2/MockBigtableTableAdmin.java | 59 + .../admin/v2/MockBigtableTableAdminImpl.java | 591 +++ .../data/v2/BaseBigtableDataClientTest.java | 962 ++++ .../cloud/bigtable/data/v2/MockBigtable.java | 59 + .../bigtable/data/v2/MockBigtableImpl.java | 222 + .../admin/v2/BigtableInstanceAdminGrpc.java | 2145 +++++++++ .../admin/v2/BigtableTableAdminGrpc.java | 2519 ++++++++++ .../com/google/bigtable/v2/BigtableGrpc.java | 840 ++++ .../google/bigtable/admin/v2/AppProfile.java | 1615 +++---- .../bigtable/admin/v2/AppProfileName.java | 0 .../admin/v2/AppProfileOrBuilder.java | 88 +- .../bigtable/admin/v2/AutoscalingLimits.java | 314 +- .../admin/v2/AutoscalingLimitsOrBuilder.java | 24 +- .../bigtable/admin/v2/AutoscalingTargets.java | 318 +- .../admin/v2/AutoscalingTargetsOrBuilder.java | 24 +- .../com/google/bigtable/admin/v2/Backup.java | 1085 ++--- .../google/bigtable/admin/v2/BackupInfo.java | 614 +-- .../admin/v2/BackupInfoOrBuilder.java | 70 +- .../google/bigtable/admin/v2/BackupName.java | 0 .../bigtable/admin/v2/BackupOrBuilder.java | 132 +- .../admin/v2/BigtableInstanceAdminProto.java | 618 +++ .../admin/v2/BigtableTableAdminProto.java | 722 +++ .../admin/v2/CheckConsistencyRequest.java | 434 +- .../v2/CheckConsistencyRequestOrBuilder.java | 44 +- .../admin/v2/CheckConsistencyResponse.java | 292 +- .../v2/CheckConsistencyResponseOrBuilder.java | 20 + .../com/google/bigtable/admin/v2/Cluster.java | 2305 ++++----- .../google/bigtable/admin/v2/ClusterName.java | 0 .../bigtable/admin/v2/ClusterOrBuilder.java | 103 +- .../bigtable/admin/v2/ColumnFamily.java | 323 +- .../admin/v2/ColumnFamilyOrBuilder.java | 26 +- .../google/bigtable/admin/v2/CommonProto.java | 61 + .../admin/v2/CreateAppProfileRequest.java | 601 +-- .../v2/CreateAppProfileRequestOrBuilder.java | 67 +- .../admin/v2/CreateBackupMetadata.java | 552 +-- .../v2/CreateBackupMetadataOrBuilder.java | 52 +- .../admin/v2/CreateBackupRequest.java | 543 +-- .../v2/CreateBackupRequestOrBuilder.java | 61 +- .../admin/v2/CreateClusterMetadata.java | 1331 +++--- .../v2/CreateClusterMetadataOrBuilder.java | 88 +- .../admin/v2/CreateClusterRequest.java | 558 +-- .../v2/CreateClusterRequestOrBuilder.java | 61 +- .../admin/v2/CreateInstanceMetadata.java | 502 +- .../v2/CreateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/CreateInstanceRequest.java | 855 ++-- .../v2/CreateInstanceRequestOrBuilder.java | 115 +- .../v2/CreateTableFromSnapshotMetadata.java | 528 +-- ...ateTableFromSnapshotMetadataOrBuilder.java | 45 +- .../v2/CreateTableFromSnapshotRequest.java | 541 +-- ...eateTableFromSnapshotRequestOrBuilder.java | 61 +- .../bigtable/admin/v2/CreateTableRequest.java | 958 ++-- .../admin/v2/CreateTableRequestOrBuilder.java | 76 +- .../admin/v2/DeleteAppProfileRequest.java | 393 +- .../v2/DeleteAppProfileRequestOrBuilder.java | 38 +- .../admin/v2/DeleteBackupRequest.java | 355 +- .../v2/DeleteBackupRequestOrBuilder.java | 33 + .../admin/v2/DeleteClusterRequest.java | 355 +- .../v2/DeleteClusterRequestOrBuilder.java | 31 + .../admin/v2/DeleteInstanceRequest.java | 355 +- .../v2/DeleteInstanceRequestOrBuilder.java | 31 + .../admin/v2/DeleteSnapshotRequest.java | 355 +- .../v2/DeleteSnapshotRequestOrBuilder.java | 33 + .../bigtable/admin/v2/DeleteTableRequest.java | 351 +- .../admin/v2/DeleteTableRequestOrBuilder.java | 33 + .../admin/v2/DropRowRangeRequest.java | 504 +- .../v2/DropRowRangeRequestOrBuilder.java | 47 +- .../bigtable/admin/v2/EncryptionInfo.java | 637 +-- .../admin/v2/EncryptionInfoOrBuilder.java | 66 +- .../com/google/bigtable/admin/v2/GcRule.java | 1424 +++--- .../bigtable/admin/v2/GcRuleOrBuilder.java | 48 +- .../v2/GenerateConsistencyTokenRequest.java | 368 +- ...erateConsistencyTokenRequestOrBuilder.java | 33 + .../v2/GenerateConsistencyTokenResponse.java | 340 +- ...rateConsistencyTokenResponseOrBuilder.java | 29 + .../admin/v2/GetAppProfileRequest.java | 355 +- .../v2/GetAppProfileRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetBackupRequest.java | 348 +- .../admin/v2/GetBackupRequestOrBuilder.java | 33 + .../bigtable/admin/v2/GetClusterRequest.java | 348 +- .../admin/v2/GetClusterRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetInstanceRequest.java | 351 +- .../admin/v2/GetInstanceRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetSnapshotRequest.java | 351 +- .../admin/v2/GetSnapshotRequestOrBuilder.java | 33 + .../bigtable/admin/v2/GetTableRequest.java | 404 +- .../admin/v2/GetTableRequestOrBuilder.java | 41 +- .../google/bigtable/admin/v2/HotTablet.java | 814 ++-- .../bigtable/admin/v2/HotTabletOrBuilder.java | 91 +- .../google/bigtable/admin/v2/Instance.java | 1062 ++--- .../bigtable/admin/v2/InstanceName.java | 0 .../bigtable/admin/v2/InstanceOrBuilder.java | 102 +- .../bigtable/admin/v2/InstanceProto.java | 263 ++ .../admin/v2/ListAppProfilesRequest.java | 469 +- .../v2/ListAppProfilesRequestOrBuilder.java | 47 +- .../admin/v2/ListAppProfilesResponse.java | 592 +-- .../v2/ListAppProfilesResponseOrBuilder.java | 63 +- .../bigtable/admin/v2/ListBackupsRequest.java | 615 +-- .../admin/v2/ListBackupsRequestOrBuilder.java | 65 +- .../admin/v2/ListBackupsResponse.java | 482 +- .../v2/ListBackupsResponseOrBuilder.java | 46 +- .../admin/v2/ListClustersRequest.java | 434 +- .../v2/ListClustersRequestOrBuilder.java | 44 +- .../admin/v2/ListClustersResponse.java | 588 +-- .../v2/ListClustersResponseOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsRequest.java | 623 +-- .../v2/ListHotTabletsRequestOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsResponse.java | 483 +- .../v2/ListHotTabletsResponseOrBuilder.java | 45 +- .../admin/v2/ListInstancesRequest.java | 434 +- .../v2/ListInstancesRequestOrBuilder.java | 44 +- .../admin/v2/ListInstancesResponse.java | 588 +-- .../v2/ListInstancesResponseOrBuilder.java | 63 +- .../admin/v2/ListSnapshotsRequest.java | 469 +- .../v2/ListSnapshotsRequestOrBuilder.java | 47 +- .../admin/v2/ListSnapshotsResponse.java | 482 +- .../v2/ListSnapshotsResponseOrBuilder.java | 45 +- .../bigtable/admin/v2/ListTablesRequest.java | 510 +- .../admin/v2/ListTablesRequestOrBuilder.java | 53 +- .../bigtable/admin/v2/ListTablesResponse.java | 478 +- .../admin/v2/ListTablesResponseOrBuilder.java | 46 +- .../bigtable/admin/v2/LocationName.java | 0 .../admin/v2/ModifyColumnFamiliesRequest.java | 1325 ++---- .../ModifyColumnFamiliesRequestOrBuilder.java | 74 +- .../bigtable/admin/v2/OperationProgress.java | 427 +- .../admin/v2/OperationProgressOrBuilder.java | 37 +- .../v2/OptimizeRestoredTableMetadata.java | 416 +- ...ptimizeRestoredTableMetadataOrBuilder.java | 35 +- .../v2/PartialUpdateClusterMetadata.java | 517 +-- ...PartialUpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/PartialUpdateClusterRequest.java | 503 +- .../PartialUpdateClusterRequestOrBuilder.java | 52 +- .../v2/PartialUpdateInstanceRequest.java | 510 +- ...PartialUpdateInstanceRequestOrBuilder.java | 55 +- .../google/bigtable/admin/v2/ProjectName.java | 0 .../google/bigtable/admin/v2/RestoreInfo.java | 434 +- .../admin/v2/RestoreInfoOrBuilder.java | 32 +- .../bigtable/admin/v2/RestoreSourceType.java | 73 +- .../admin/v2/RestoreTableMetadata.java | 700 ++- .../v2/RestoreTableMetadataOrBuilder.java | 56 +- .../admin/v2/RestoreTableRequest.java | 563 +-- .../v2/RestoreTableRequestOrBuilder.java | 56 +- .../google/bigtable/admin/v2/Snapshot.java | 808 ++-- .../bigtable/admin/v2/SnapshotName.java | 0 .../bigtable/admin/v2/SnapshotOrBuilder.java | 69 +- .../admin/v2/SnapshotTableMetadata.java | 502 +- .../v2/SnapshotTableMetadataOrBuilder.java | 42 +- .../admin/v2/SnapshotTableRequest.java | 687 ++- .../v2/SnapshotTableRequestOrBuilder.java | 78 +- .../google/bigtable/admin/v2/StorageType.java | 82 +- .../com/google/bigtable/admin/v2/Table.java | 1941 +++----- .../google/bigtable/admin/v2/TableName.java | 0 .../bigtable/admin/v2/TableOrBuilder.java | 144 +- .../google/bigtable/admin/v2/TableProto.java | 294 ++ .../admin/v2/UndeleteTableMetadata.java | 475 +- .../v2/UndeleteTableMetadataOrBuilder.java | 43 +- .../admin/v2/UndeleteTableRequest.java | 355 +- .../v2/UndeleteTableRequestOrBuilder.java | 33 + .../admin/v2/UpdateAppProfileMetadata.java | 254 +- .../v2/UpdateAppProfileMetadataOrBuilder.java | 9 + .../admin/v2/UpdateAppProfileRequest.java | 539 +-- .../v2/UpdateAppProfileRequestOrBuilder.java | 58 +- .../admin/v2/UpdateBackupRequest.java | 481 +- .../v2/UpdateBackupRequestOrBuilder.java | 52 +- .../admin/v2/UpdateClusterMetadata.java | 499 +- .../v2/UpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateInstanceMetadata.java | 514 +- .../v2/UpdateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateTableMetadata.java | 475 +- .../v2/UpdateTableMetadataOrBuilder.java | 43 +- .../bigtable/admin/v2/UpdateTableRequest.java | 475 +- .../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 | 394 ++ .../java/com/google/bigtable/v2/Cell.java | 401 +- .../com/google/bigtable/v2/CellOrBuilder.java | 42 +- .../bigtable/v2/CheckAndMutateRowRequest.java | 904 ++-- .../v2/CheckAndMutateRowRequestOrBuilder.java | 104 +- .../v2/CheckAndMutateRowResponse.java | 289 +- .../CheckAndMutateRowResponseOrBuilder.java | 20 + .../java/com/google/bigtable/v2/Column.java | 421 +- .../google/bigtable/v2/ColumnOrBuilder.java | 40 +- .../com/google/bigtable/v2/ColumnRange.java | 613 +-- .../bigtable/v2/ColumnRangeOrBuilder.java | 51 +- .../com/google/bigtable/v2/DataProto.java | 319 ++ .../java/com/google/bigtable/v2/Family.java | 458 +- .../google/bigtable/v2/FamilyOrBuilder.java | 46 +- .../google/bigtable/v2/FullReadStatsView.java | 645 ++- .../v2/FullReadStatsViewOrBuilder.java | 52 +- .../com/google/bigtable/v2/InstanceName.java | 0 .../google/bigtable/v2/MutateRowRequest.java | 869 ++-- .../v2/MutateRowRequestOrBuilder.java | 119 + .../google/bigtable/v2/MutateRowResponse.java | 241 +- .../v2/MutateRowResponseOrBuilder.java | 9 + .../google/bigtable/v2/MutateRowsRequest.java | 1446 +++--- .../v2/MutateRowsRequestOrBuilder.java | 88 +- .../bigtable/v2/MutateRowsResponse.java | 756 ++- .../v2/MutateRowsResponseOrBuilder.java | 36 +- .../java/com/google/bigtable/v2/Mutation.java | 2097 ++++----- .../google/bigtable/v2/MutationOrBuilder.java | 50 +- .../bigtable/v2/PingAndWarmRequest.java | 462 +- .../v2/PingAndWarmRequestOrBuilder.java | 53 + .../bigtable/v2/PingAndWarmResponse.java | 244 +- .../v2/PingAndWarmResponseOrBuilder.java | 9 + .../bigtable/v2/ReadIterationStats.java | 568 +-- .../v2/ReadIterationStatsOrBuilder.java | 45 +- .../v2/ReadModifyWriteRowRequest.java | 900 ++-- .../ReadModifyWriteRowRequestOrBuilder.java | 121 + .../v2/ReadModifyWriteRowResponse.java | 328 +- .../ReadModifyWriteRowResponseOrBuilder.java | 26 +- .../bigtable/v2/ReadModifyWriteRule.java | 502 +- .../v2/ReadModifyWriteRuleOrBuilder.java | 42 +- .../google/bigtable/v2/ReadRowsRequest.java | 780 ++-- .../bigtable/v2/ReadRowsRequestOrBuilder.java | 69 +- .../google/bigtable/v2/ReadRowsResponse.java | 1383 ++---- .../v2/ReadRowsResponseOrBuilder.java | 47 +- .../bigtable/v2/RequestLatencyStats.java | 407 +- .../v2/RequestLatencyStatsOrBuilder.java | 44 +- .../com/google/bigtable/v2/RequestStats.java | 755 +++ .../bigtable/v2/RequestStatsOrBuilder.java | 41 + .../google/bigtable/v2/RequestStatsProto.java | 100 + .../google/bigtable/v2/ResponseParams.java | 400 +- .../bigtable/v2/ResponseParamsOrBuilder.java | 42 +- .../bigtable/v2/ResponseParamsProto.java | 54 + .../main/java/com/google/bigtable/v2/Row.java | 416 +- .../com/google/bigtable/v2/RowFilter.java | 2990 +++++------- .../bigtable/v2/RowFilterOrBuilder.java | 156 +- .../com/google/bigtable/v2/RowOrBuilder.java | 40 +- .../java/com/google/bigtable/v2/RowRange.java | 530 +-- .../google/bigtable/v2/RowRangeOrBuilder.java | 42 +- .../java/com/google/bigtable/v2/RowSet.java | 459 +- .../google/bigtable/v2/RowSetOrBuilder.java | 46 +- .../bigtable/v2/SampleRowKeysRequest.java | 427 +- .../v2/SampleRowKeysRequestOrBuilder.java | 44 +- .../bigtable/v2/SampleRowKeysResponse.java | 316 +- .../v2/SampleRowKeysResponseOrBuilder.java | 24 +- .../com/google/bigtable/v2/TableName.java | 0 .../google/bigtable/v2/TimestampRange.java | 316 +- .../bigtable/v2/TimestampRangeOrBuilder.java | 24 +- .../com/google/bigtable/v2/ValueRange.java | 539 +-- .../bigtable/v2/ValueRangeOrBuilder.java | 42 +- .../proto/google/bigtable/v2/bigtable.proto | 108 +- .../main/proto/google/bigtable/v2/data.proto | 0 .../google/bigtable/v2/request_stats.proto | 56 +- .../google/bigtable/v2/response_params.proto | 0 .../admin/v2/BigtableInstanceAdminProto.java | 665 --- .../admin/v2/BigtableTableAdminProto.java | 780 ---- .../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 | 339 -- .../v2/UndeleteTableRequestOrBuilder.java | 58 - .../v2/UpdateAppProfileMetadataOrBuilder.java | 24 - .../com/google/bigtable/v2/BigtableProto.java | 436 -- .../CheckAndMutateRowResponseOrBuilder.java | 39 - .../com/google/bigtable/v2/DataProto.java | 373 -- .../v2/MutateRowRequestOrBuilder.java | 169 - .../v2/MutateRowResponseOrBuilder.java | 24 - .../v2/PingAndWarmRequestOrBuilder.java | 85 - .../v2/PingAndWarmResponseOrBuilder.java | 24 - .../bigtable/v2/ReadEfficiencyStats.java | 1021 ---- .../v2/ReadEfficiencyStatsOrBuilder.java | 107 - .../ReadModifyWriteRowRequestOrBuilder.java | 171 - .../com/google/bigtable/v2/RequestStats.java | 1144 ----- .../bigtable/v2/RequestStatsOrBuilder.java | 106 - .../google/bigtable/v2/RequestStatsProto.java | 140 - .../bigtable/v2/ResponseParamsProto.java | 67 - 311 files changed, 59828 insertions(+), 57735 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/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 (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/BackupInfoOrBuilder.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/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 (74%) 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/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 (65%) 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 (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/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 (70%) 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/CreateAppProfileRequest.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/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 (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/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 (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/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 (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/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 (63%) 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 (63%) 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 (63%) 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 (63%) 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 (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/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 (63%) 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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/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 (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/Snapshot.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/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 (82%) 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 (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/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 (69%) 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 (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/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 (63%) 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 (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/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 (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/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 (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/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 (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/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 (75%) 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 (73%) 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 (83%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java (64%) 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/src/main/java/com/google/bigtable/v2/AllReadStats.java => owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java (51%) rename proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.java => owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java (62%) 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 (60%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java 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 (64%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java (62%) 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 (66%) 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 (62%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java 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/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java => owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java (52%) rename proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java => owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java (55%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java (60%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java 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 (71%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java (75%) 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 (66%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java 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 (69%) 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 (74%) 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 (73%) 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/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 (75%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/bigtable.proto (90%) 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/request_stats.proto (72%) 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/MutateRowRequestOrBuilder.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/PingAndWarmRequestOrBuilder.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/ReadEfficiencyStats.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.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 8bc483256f..0000000000 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java +++ /dev/null @@ -1,2774 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -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 abstract static class BigtableInstanceAdminImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getListHotTabletsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>(this, METHODID_CREATE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetInstanceRequest, - com.google.bigtable.admin.v2.Instance>(this, METHODID_GET_INSTANCE))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance>( - this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getPartialUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation>(this, METHODID_PARTIAL_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteInstanceRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_INSTANCE))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_CLUSTER))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetClusterRequest, - com.google.bigtable.admin.v2.Cluster>(this, METHODID_GET_CLUSTER))) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse>( - this, METHODID_LIST_CLUSTERS))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation>( - this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getPartialUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation>(this, METHODID_PARTIAL_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_CLUSTER))) - .addMethod( - getCreateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>(this, 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>(this, 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>( - this, METHODID_LIST_APP_PROFILES))) - .addMethod( - getUpdateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_APP_PROFILE))) - .addMethod( - getDeleteAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_APP_PROFILE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, 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>( - this, METHODID_LIST_HOT_TABLETS))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 BigtableInstanceAdminImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableInstanceAdminImplBase 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(); - } - } - } - - 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 b4d101214c..0000000000 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ /dev/null @@ -1,3214 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -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.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 abstract static class BigtableTableAdminImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Creates a new table in the specified instance.
-     * The table can be created with a full set of initial column families,
-     * specified in the request.
-     * 
- */ - public void createTable( - com.google.bigtable.admin.v2.CreateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateTableFromSnapshotMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all tables served from a specified instance.
-     * 
- */ - public void listTables( - com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets metadata information about the specified table.
-     * 
- */ - public void getTable( - com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a specified table.
-     * 
- */ - public void updateTable( - com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateTableMethod(), responseObserver); - } - - /** - * - * - *
-     * Permanently deletes a specified table and all of its data.
-     * 
- */ - public void deleteTable( - com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteTableMethod(), responseObserver); - } - - /** - * - * - *
-     * Restores a specified table which was accidentally deleted.
-     * 
- */ - public void undeleteTable( - com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUndeleteTableMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getModifyColumnFamiliesMethod(), responseObserver); - } - - /** - * - * - *
-     * Permanently drop/delete a row range from a specified table. The request can
-     * specify whether to delete all rows in a table, or only those that match a
-     * particular prefix.
-     * 
- */ - public void dropRowRange( - com.google.bigtable.admin.v2.DropRowRangeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDropRowRangeMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateConsistencyTokenMethod(), responseObserver); - } - - /** - * - * - *
-     * Checks replication consistency based on a consistency token, that is, if
-     * replication has caught up based on the conditions specified in the token
-     * and the check request.
-     * 
- */ - public void checkConsistency( - com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckConsistencyMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.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.
-     * 
- */ - public void getSnapshot( - com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetSnapshotMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists all snapshots associated with the specified cluster.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * 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.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.
-     * 
- */ - public void deleteSnapshot( - com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteSnapshotMethod(), responseObserver); - } - - /** - * - * - *
-     * Starts creating a new Cloud Bigtable Backup.  The returned backup
-     * [long-running operation][google.longrunning.Operation] can be used to
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets metadata on a pending or completed Cloud Bigtable Backup.
-     * 
- */ - public void getBackup( - com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a pending or completed Cloud Bigtable Backup.
-     * 
- */ - public void updateBackup( - com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a pending or completed Cloud Bigtable backup.
-     * 
- */ - public void deleteBackup( - com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists Cloud Bigtable backups. Returns both completed and pending
-     * backups.
-     * 
- */ - public void listBackups( - com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListBackupsMethod(), responseObserver); - } - - /** - * - * - *
-     * Create a new table by restoring from a completed backup. The new table
-     * must be in the same project as the instance containing the backup.  The
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getRestoreTableMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>(this, METHODID_CREATE_TABLE))) - .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) - .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>(this, METHODID_LIST_TABLES))) - .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>(this, METHODID_GET_TABLE))) - .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>(this, METHODID_UPDATE_TABLE))) - .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_TABLE))) - .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>(this, METHODID_UNDELETE_TABLE))) - .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>(this, METHODID_MODIFY_COLUMN_FAMILIES))) - .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, METHODID_CHECK_CONSISTENCY))) - .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>(this, METHODID_SNAPSHOT_TABLE))) - .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>(this, METHODID_GET_SNAPSHOT))) - .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - this, METHODID_LIST_SNAPSHOTS))) - .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_SNAPSHOT))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_BACKUP))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>(this, METHODID_GET_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>(this, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( - this, METHODID_DELETE_BACKUP))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - this, METHODID_LIST_BACKUPS))) - .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>(this, METHODID_RESTORE_TABLE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - * - * - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - * - * - *
-     * 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); - } - } - - /** - * - * - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - * - * - *
-     * 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); - } - } - - /** - * - * - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - * - * - *
-     * 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_GET_IAM_POLICY = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_TEST_IAM_PERMISSIONS = 23; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final BigtableTableAdminImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableTableAdminImplBase 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_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(); - } - } - } - - 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(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 e6eaad7197..0000000000 --- a/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java +++ /dev/null @@ -1,1041 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -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; - } - - /** 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 abstract static class BigtableImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.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.
-     * 
- */ - public 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`.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReadModifyWriteRowMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>(this, METHODID_READ_ROWS))) - .addMethod( - getSampleRowKeysMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse>( - this, METHODID_SAMPLE_ROW_KEYS))) - .addMethod( - getMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowRequest, - com.google.bigtable.v2.MutateRowResponse>(this, METHODID_MUTATE_ROW))) - .addMethod( - getMutateRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowsRequest, - com.google.bigtable.v2.MutateRowsResponse>(this, METHODID_MUTATE_ROWS))) - .addMethod( - getCheckAndMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse>( - this, METHODID_CHECK_AND_MUTATE_ROW))) - .addMethod( - getPingAndWarmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.PingAndWarmRequest, - com.google.bigtable.v2.PingAndWarmResponse>(this, METHODID_PING_AND_WARM))) - .addMethod( - getReadModifyWriteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse>( - this, METHODID_READ_MODIFY_WRITE_ROW))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 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 BigtableImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableImplBase 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; - 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(); - } - } - } - - 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()) - .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..bffc042732 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..aa8145f496 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..46f1affbc9 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -0,0 +1,4128 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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 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. + * `deletion_protection`) 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 field: * + * `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 new table must be in the same + * project as the instance containing the 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 new table must be in the same + * project as the instance containing the 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 new table must be in the same + * project as the instance containing the 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. + /** + * 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..75bb04cf42 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java @@ -0,0 +1,560 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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 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 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..bda1f8b016 --- /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,162 @@ +{ + "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"] + }, + "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..a7c86839c6 --- /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,67 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 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..ed4878f17e --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..028d244292 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..ac888ba054 --- /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,230 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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 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..ede9ad10c9 --- /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,1375 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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 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 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(); + 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 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(); + 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, + 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(); + 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, + 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 + .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())); + + 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 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..03a4d38a60 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..5a143de48d --- /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,895 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.common.collect.ImmutableMap; +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 -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listInstancesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listInstancesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + partialUpdateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("instance.name", String.valueOf(request.getInstance().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createClusterMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getClusterMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listClustersTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listClustersMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings partialUpdateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("cluster.name", String.valueOf(request.getCluster().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteClusterMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + listAppProfilesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listAppProfilesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings updateAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("app_profile.name", String.valueOf(request.getAppProfile().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings + listHotTabletsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listHotTabletsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.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..dfcf03be06 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..a0bdf3b636 --- /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,994 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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.ImmutableMap; +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 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 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 -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings + createTableFromSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings listTablesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listTablesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings updateTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("table.name", String.valueOf(request.getTable().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings undeleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(undeleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings modifyColumnFamiliesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings dropRowRangeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(dropRowRangeMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + generateConsistencyTokenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings + checkConsistencyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkConsistencyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings snapshotTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(snapshotTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings getSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listSnapshotsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listSnapshotsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings createBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createBackupMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getBackupMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings updateBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateBackupMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("backup.name", String.valueOf(request.getBackup().getName())); + return params.build(); + }) + .build(); + GrpcCallSettings deleteBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteBackupMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); + }) + .build(); + GrpcCallSettings listBackupsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listBackupsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings restoreTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(restoreTableMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("resource", String.valueOf(request.getResource())); + return params.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.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 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..73846da576 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -0,0 +1,1300 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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)
+   *           .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(); + } + + @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..90c94b2692 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java @@ -0,0 +1,268 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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(); + } + + 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(); + } + + @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..77b50a1f50 --- /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,39 @@ +{ + "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"] + }, + "MutateRow": { + "methods": ["mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRowCallable"] + }, + "MutateRows": { + "methods": ["mutateRowsCallable"] + }, + "PingAndWarm": { + "methods": ["pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarmCallable"] + }, + "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..39cea2b479 --- /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,43 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * 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..d8e6e2707e --- /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,80 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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()"); + } + + @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..380f6063b6 --- /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,486 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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; + + /** 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; + } + + 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(); + } + + /** 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 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())); + 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); + 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(); + + 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(); + + 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")); + + 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; + } + + @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..b35383e6e8 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..7f66a148fb --- /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,412 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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 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 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(); + + 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.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 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/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..9717021f5d --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..6a79402f73 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -0,0 +1,2360 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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()) + .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") + .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") + .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") + .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") + .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") + .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()) + .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 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..09e4031ca4 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..9492e24272 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..a8b562a1d3 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..211197811a --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java @@ -0,0 +1,591 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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 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..48bbc8d337 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -0,0 +1,962 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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.TableName; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +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) + .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) + .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()) + .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. + } + } +} 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..56c8ba8470 --- /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 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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..fc7aaf4a6d --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -0,0 +1,222 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +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.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.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()))); + } + } +} 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..a657dd7292 --- /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,2145 @@ +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 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 static abstract class BigtableInstanceAdminImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>( + this, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance>( + this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>( + this, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>( + this, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + this, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>( + this, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + this, 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>( + this, 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>( + this, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, 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>( + this, METHODID_LIST_HOT_TABLETS))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 BigtableInstanceAdminImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableInstanceAdminImplBase 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(); + } + } + } + + 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 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/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..6355e6ba24 --- /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,2519 @@ +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 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 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 static abstract class BigtableTableAdminImplBase implements io.grpc.BindableService { + + /** + *
+     * Creates a new table in the specified instance.
+     * The table can be created with a full set of initial column families,
+     * specified in the request.
+     * 
+ */ + public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), responseObserver); + } + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); + } + + /** + *
+     * Lists all tables served from a specified instance.
+     * 
+ */ + public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); + } + + /** + *
+     * Gets metadata information about the specified table.
+     * 
+ */ + public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); + } + + /** + *
+     * Updates a specified table.
+     * 
+ */ + public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); + } + + /** + *
+     * Permanently deletes a specified table and all of its data.
+     * 
+ */ + public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); + } + + /** + *
+     * Restores a specified table which was accidentally deleted.
+     * 
+ */ + public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteTableMethod(), responseObserver); + } + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); + } + + /** + *
+     * Permanently drop/delete a row range from a specified table. The request can
+     * specify whether to delete all rows in a table, or only those that match a
+     * particular prefix.
+     * 
+ */ + public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRowRangeMethod(), responseObserver); + } + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); + } + + /** + *
+     * Checks replication consistency based on a consistency token, that is, if
+     * replication has caught up based on the conditions specified in the token
+     * and the check request.
+     * 
+ */ + public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); + } + + /** + *
+     * 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.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.
+     * 
+ */ + public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSnapshotMethod(), responseObserver); + } + + /** + *
+     * Lists all snapshots associated with the specified cluster.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * 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.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.
+     * 
+ */ + public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSnapshotMethod(), responseObserver); + } + + /** + *
+     * Starts creating a new Cloud Bigtable Backup.  The returned backup
+     * [long-running operation][google.longrunning.Operation] can be used to
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); + } + + /** + *
+     * Gets metadata on a pending or completed Cloud Bigtable Backup.
+     * 
+ */ + public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + *
+     * Updates a pending or completed Cloud Bigtable Backup.
+     * 
+ */ + public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); + } + + /** + *
+     * Deletes a pending or completed Cloud Bigtable backup.
+     * 
+ */ + public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); + } + + /** + *
+     * Lists Cloud Bigtable backups. Returns both completed and pending
+     * backups.
+     * 
+ */ + public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); + } + + /** + *
+     * Create a new table by restoring from a completed backup. The new table
+     * must be in the same project as the instance containing the backup.  The
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getRestoreTableMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>( + this, METHODID_CREATE_TABLE))) + .addMethod( + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + .addMethod( + getListTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListTablesRequest, + com.google.bigtable.admin.v2.ListTablesResponse>( + this, METHODID_LIST_TABLES))) + .addMethod( + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>( + this, METHODID_GET_TABLE))) + .addMethod( + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_TABLE))) + .addMethod( + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TABLE))) + .addMethod( + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>( + this, METHODID_UNDELETE_TABLE))) + .addMethod( + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>( + this, METHODID_MODIFY_COLUMN_FAMILIES))) + .addMethod( + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, + com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, METHODID_CHECK_CONSISTENCY))) + .addMethod( + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>( + this, METHODID_SNAPSHOT_TABLE))) + .addMethod( + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>( + this, METHODID_GET_SNAPSHOT))) + .addMethod( + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + this, METHODID_LIST_SNAPSHOTS))) + .addMethod( + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_SNAPSHOT))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_BACKUP))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>( + this, METHODID_GET_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>( + this, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_BACKUP))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + this, METHODID_LIST_BACKUPS))) + .addMethod( + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>( + this, METHODID_RESTORE_TABLE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + *
+     * 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); + } + } + + /** + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + *
+     * 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); + } + } + + /** + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + *
+     * 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_GET_IAM_POLICY = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_TEST_IAM_PERMISSIONS = 23; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final BigtableTableAdminImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableTableAdminImplBase 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_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(); + } + } + } + + 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 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(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..4368d34841 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,840 @@ +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 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; + } + + /** + * 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 static abstract class BigtableImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.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.
+     * 
+ */ + public 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`.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + this, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>( + this, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>( + this, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + this, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>( + this, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + this, METHODID_READ_MODIFY_WRITE_ROW))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 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 BigtableImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableImplBase 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; + 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(); + } + } + } + + 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 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()) + .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 b8dd885f7a..ac99bbe140 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,93 +28,79 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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
@@ -143,88 +111,78 @@ 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.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     private com.google.protobuf.LazyStringList 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 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. */ @@ -232,24 +190,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; @@ -261,7 +216,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -290,15 +246,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; } @@ -320,95 +276,87 @@ 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 @@ -418,8 +366,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
@@ -430,34 +376,33 @@ 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();
@@ -467,16 +412,14 @@ 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_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
@@ -490,8 +433,7 @@ 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);
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           clusterIds_ = clusterIds_.getUnmodifiableView();
@@ -506,53 +448,46 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPa
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.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_;
@@ -589,20 +524,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) {
@@ -612,58 +545,47 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList clusterIds_ =
-          com.google.protobuf.LazyStringArrayList.EMPTY;
-
+      private com.google.protobuf.LazyStringList clusterIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       private void ensureClusterIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
           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() { return clusterIds_.getUnmodifiableView(); } /** - * - * *
        * 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,95 +593,85 @@ 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) { + public Builder setClusterIds( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterIdsIsMutable(); + throw new NullPointerException(); + } + ensureClusterIdsIsMutable(); clusterIds_.set(index, value); 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 clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds(java.lang.String value) { + public Builder addClusterIds( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterIdsIsMutable(); + throw new NullPointerException(); + } + ensureClusterIdsIsMutable(); clusterIds_.add(value); 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 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_); 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() { @@ -769,29 +681,26 @@ public Builder clearClusterIds() { 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) { + public Builder addClusterIdsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -804,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; @@ -853,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
@@ -899,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
@@ -915,57 +810,52 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     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 @@ -974,29 +864,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 { @@ -1007,8 +897,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_; /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -1016,7 +904,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1025,7 +912,6 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1037,7 +923,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1057,7 +944,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; @@ -1067,16 +955,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; } @@ -1091,101 +980,95 @@ 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 @@ -1195,8 +1078,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
@@ -1205,33 +1086,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();
@@ -1243,14 +1124,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();
       }
 
@@ -1265,8 +1145,7 @@ 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);
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
         result.clusterId_ = clusterId_;
         result.allowTransactionalWrites_ = allowTransactionalWrites_;
         onBuilt();
@@ -1277,41 +1156,38 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting 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.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;
@@ -1319,9 +1195,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_;
           onChanged();
@@ -1355,25 +1229,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  clusterId_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              case 16:
-                {
-                  allowTransactionalWrites_ = input.readBool();
-
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                clusterId_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+              case 16: {
+                allowTransactionalWrites_ = input.readBool();
+
+                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) {
@@ -1386,20 +1257,18 @@ public Builder mergeFrom(
 
       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; @@ -1408,21 +1277,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 { @@ -1430,70 +1298,61 @@ 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) { + public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; 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() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); 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) { + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); 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
@@ -1501,7 +1360,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1509,8 +1367,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
@@ -1518,19 +1374,16 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; - * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ public Builder setAllowTransactionalWrites(boolean value) { - + allowTransactionalWrites_ = value; onChanged(); return this; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1538,16 +1391,14 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { - + allowTransactionalWrites_ = false; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1560,44 +1411,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; @@ -1609,24 +1457,21 @@ 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; 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; } @@ -1642,38 +1487,32 @@ 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; 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 @@ -1682,30 +1521,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 { @@ -1716,8 +1555,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ETAG_FIELD_NUMBER = 2; private volatile java.lang.Object etag_; /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1730,7 +1567,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -1739,15 +1575,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
@@ -1760,15 +1595,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 { @@ -1779,14 +1615,11 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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 @@ -1795,29 +1628,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 { @@ -1827,16 +1660,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 @@ -1844,57 +1672,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 @@ -1902,45 +1715,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; @@ -1952,7 +1756,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1963,12 +1768,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); } @@ -1989,15 +1792,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; @@ -2007,24 +1807,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: @@ -2063,104 +1867,97 @@ 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.
@@ -2168,32 +1965,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();
@@ -2215,9 +2013,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
@@ -2236,8 +2034,7 @@ 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);
+      com.google.bigtable.admin.v2.AppProfile result = new com.google.bigtable.admin.v2.AppProfile(this);
       result.name_ = name_;
       result.etag_ = etag_;
       result.description_ = description_;
@@ -2264,39 +2061,38 @@ public com.google.bigtable.admin.v2.AppProfile 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.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;
@@ -2318,20 +2114,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();
@@ -2359,45 +2152,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -2407,12 +2196,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() {
@@ -2422,23 +2211,22 @@ public Builder clearRoutingPolicy() {
       return this;
     }
 
+
     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; @@ -2447,22 +2235,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 { @@ -2470,64 +2257,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2535,8 +2315,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
@@ -2549,13 +2327,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; @@ -2564,8 +2342,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2578,14 +2354,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 { @@ -2593,8 +2370,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2607,22 +2382,20 @@ 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) { + public Builder setEtag( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2635,18 +2408,15 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2659,16 +2429,16 @@ 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) { + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -2676,20 +2446,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; @@ -2698,21 +2466,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 { @@ -2720,82 +2487,67 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } 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 @@ -2803,48 +2555,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(); @@ -2858,15 +2597,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) { @@ -2880,29 +2615,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; } @@ -2918,15 +2642,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) { @@ -2945,97 +2665,67 @@ 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()); routingPolicy_ = null; } routingPolicyCase_ = 5; - onChanged(); - ; + onChanged();; return multiClusterRoutingUseAnyBuilder_; } 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 @@ -3043,15 +2733,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 @@ -3069,17 +2755,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(); @@ -3093,14 +2775,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) { @@ -3114,27 +2793,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; } @@ -3150,14 +2820,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) { @@ -3176,32 +2843,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 { @@ -3212,43 +2871,33 @@ 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()); routingPolicy_ = null; } routingPolicyCase_ = 6; - onChanged(); - ; + 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); } @@ -3258,12 +2907,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(); } @@ -3272,27 +2921,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; @@ -3307,4 +2956,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 ca28ff799a..0a725f6ebf 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); public 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 d6130f49e9..63d61e709a 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * 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 @@ -86,14 +65,11 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; 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 @@ -102,7 +78,6 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,7 +89,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -131,10 +107,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; @@ -144,16 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -174,136 +153,130 @@ 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(); @@ -315,9 +288,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 @@ -336,8 +309,7 @@ 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); + com.google.bigtable.admin.v2.AutoscalingLimits result = new com.google.bigtable.admin.v2.AutoscalingLimits(this); result.minServeNodes_ = minServeNodes_; result.maxServeNodes_ = maxServeNodes_; onBuilt(); @@ -348,39 +320,38 @@ public com.google.bigtable.admin.v2.AutoscalingLimits 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.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; @@ -421,25 +392,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minServeNodes_ = input.readInt32(); - - break; - } // case 8 - case 16: - { - maxServeNodes_ = input.readInt32(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minServeNodes_ = input.readInt32(); + + break; + } // case 8 + case 16: { + maxServeNodes_ = input.readInt32(); + + 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) { @@ -450,16 +418,13 @@ public Builder mergeFrom( return this; } - 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 @@ -467,51 +432,42 @@ 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. */ public Builder setMinServeNodes(int value) { - + minServeNodes_ = value; onChanged(); 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() { - + minServeNodes_ = 0; onChanged(); 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 @@ -519,43 +475,37 @@ 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. */ public Builder setMaxServeNodes(int value) { - + maxServeNodes_ = value; onChanged(); 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() { - + maxServeNodes_ = 0; 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); } @@ -565,12 +515,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(); } @@ -579,27 +529,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; @@ -614,4 +564,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 ef8bea2e1b..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 d7c4351c78..c5d95a6c49 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,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -78,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -89,8 +68,6 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; 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
@@ -101,7 +78,6 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -110,7 +86,6 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -122,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -139,11 +115,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; @@ -153,16 +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.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; } @@ -183,136 +161,130 @@ 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(); @@ -324,9 +296,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 @@ -345,8 +317,7 @@ 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); + com.google.bigtable.admin.v2.AutoscalingTargets result = new com.google.bigtable.admin.v2.AutoscalingTargets(this); result.cpuUtilizationPercent_ = cpuUtilizationPercent_; result.storageUtilizationGibPerNode_ = storageUtilizationGibPerNode_; onBuilt(); @@ -357,39 +328,38 @@ public com.google.bigtable.admin.v2.AutoscalingTargets 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.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; @@ -397,8 +367,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()); } @@ -431,25 +400,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - cpuUtilizationPercent_ = input.readInt32(); - - break; - } // case 16 - case 24: - { - storageUtilizationGibPerNode_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + cpuUtilizationPercent_ = input.readInt32(); + + break; + } // case 16 + case 24: { + storageUtilizationGibPerNode_ = input.readInt32(); + + 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) { @@ -460,10 +426,8 @@ public Builder mergeFrom( return this; } - 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
@@ -472,7 +436,6 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -480,8 +443,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
@@ -490,19 +451,16 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; - * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ public Builder setCpuUtilizationPercent(int value) { - + cpuUtilizationPercent_ = value; onChanged(); return this; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -511,20 +469,17 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; - * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { - + cpuUtilizationPercent_ = 0; onChanged(); 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
@@ -535,7 +490,6 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -543,8 +497,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
@@ -555,19 +507,16 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ public Builder setStorageUtilizationGibPerNode(int value) { - + storageUtilizationGibPerNode_ = value; onChanged(); 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
@@ -578,18 +527,17 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { - + storageUtilizationGibPerNode_ = 0; 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); } @@ -599,12 +547,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(); } @@ -613,27 +561,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; @@ -648,4 +596,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 c3b9e6e256..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 95df3f17d8..493efdb783 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -45,43 +27,39 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
      * 
@@ -90,8 +68,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.
@@ -101,8 +77,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -114,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -124,8 +96,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.
@@ -135,8 +105,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -145,6 +113,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( @@ -169,49 +138,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; @@ -231,8 +200,6 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -246,7 +213,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -255,15 +221,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 +242,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 { @@ -296,18 +262,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; 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 @@ -316,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,8 +312,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() { 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 30 days
@@ -363,9 +320,7 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
    * 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 @@ -373,8 +328,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 30 days
@@ -383,9 +336,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 @@ -393,8 +344,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 30 days
@@ -403,8 +352,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() { @@ -414,8 +362,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
@@ -423,9 +369,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * row data in this backup will be no older than 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 @@ -433,8 +377,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
@@ -442,9 +384,7 @@ public boolean hasStartTime() {
    * row data in this backup will be no older than 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 @@ -452,8 +392,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
@@ -461,8 +399,7 @@ public com.google.protobuf.Timestamp getStartTime() {
    * row data in this backup will be no older than 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() { @@ -472,16 +409,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 @@ -489,16 +422,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 @@ -506,15 +435,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() { @@ -524,14 +450,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; 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 @@ -542,56 +465,38 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.valueOf(state_); + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.valueOf(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 @@ -599,34 +504,23 @@ 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() { @@ -634,7 +528,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -646,7 +539,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -687,22 +581,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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -712,32 +612,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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 (!getName() + .equals(other.getName())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) 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; @@ -767,7 +674,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()) { @@ -779,135 +687,130 @@ 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(); @@ -947,9 +850,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 @@ -1001,39 +904,38 @@ public com.google.bigtable.admin.v2.Backup 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.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; @@ -1094,61 +996,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - sourceTable_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 42 - case 48: - { - sizeBytes_ = input.readInt64(); - - break; - } // case 48 - case 56: - { - state_ = input.readEnum(); - - break; - } // case 56 - case 74: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + sourceTable_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 42 + case 48: { + sizeBytes_ = input.readInt64(); + + break; + } // case 48 + case 56: { + state_ = input.readEnum(); + + break; + } // case 56 + case 74: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1161,8 +1062,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1176,13 +1075,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; @@ -1191,8 +1090,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1206,14 +1103,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 { @@ -1221,8 +1119,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1236,22 +1132,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1265,18 +1159,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1290,16 +1181,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1307,24 +1198,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; @@ -1333,25 +1220,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 { @@ -1359,73 +1243,60 @@ 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) { + public Builder setSourceTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); 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]; * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = value; onChanged(); return this; @@ -1433,13 +1304,8 @@ public Builder setSourceTableBytes(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 30 days
@@ -1448,17 +1314,13 @@ public Builder setSourceTableBytes(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 expireTimeBuilder_ != null || expireTime_ != null; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1467,23 +1329,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 30 days
@@ -1492,8 +1348,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) { @@ -1509,8 +1364,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 30 days
@@ -1519,10 +1372,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(); onChanged(); @@ -1533,8 +1386,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 30 days
@@ -1543,14 +1394,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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1562,8 +1412,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 30 days
@@ -1572,8 +1420,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() { if (expireTimeBuilder_ == null) { @@ -1587,8 +1434,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 30 days
@@ -1597,17 +1442,14 @@ 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() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1616,21 +1458,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 30 days
@@ -1639,21 +1477,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_; @@ -1661,13 +1495,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
@@ -1675,17 +1504,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * row data in this backup will be no older than 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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1693,9 +1518,7 @@ public boolean hasStartTime() {
      * row data in this backup will be no older than 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() { @@ -1706,8 +1529,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
@@ -1715,8 +1536,7 @@ public com.google.protobuf.Timestamp getStartTime() {
      * row data in this backup will be no older than 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) { @@ -1732,8 +1552,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
@@ -1741,10 +1559,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      * row data in this backup will be no older than 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(); onChanged(); @@ -1755,8 +1573,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
@@ -1764,14 +1580,13 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      * row data in this backup will be no older than 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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1783,8 +1598,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
@@ -1792,8 +1605,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
      * row data in this backup will be no older than 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() { if (startTimeBuilder_ == null) { @@ -1807,8 +1619,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1816,17 +1626,14 @@ public Builder clearStartTime() {
      * row data in this backup will be no older than 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() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1834,19 +1641,17 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
      * row data in this backup will be no older than 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
@@ -1854,21 +1659,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * row data in this backup will be no older than 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_; @@ -1876,37 +1677,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1917,15 +1707,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) { @@ -1941,17 +1728,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(); onChanged(); @@ -1962,21 +1747,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1988,15 +1770,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() { if (endTimeBuilder_ == null) { @@ -2010,77 +1789,63 @@ 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() { - + onChanged(); 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 @@ -2088,36 +1853,30 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; @@ -2125,73 +1884,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.valueOf(state_); + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.valueOf(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. */ @@ -2199,26 +1936,21 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2226,58 +1958,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 encryptionInfoBuilder_ != null || 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. */ 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) { @@ -2293,15 +2006,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) { @@ -2315,23 +2024,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 (encryptionInfo_ != null) { encryptionInfo_ = - com.google.bigtable.admin.v2.EncryptionInfo.newBuilder(encryptionInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.EncryptionInfo.newBuilder(encryptionInfo_).mergeFrom(value).buildPartial(); } else { encryptionInfo_ = value; } @@ -2343,15 +2046,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() { if (encryptionInfoBuilder_ == null) { @@ -2365,71 +2064,55 @@ 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() { - + onChanged(); 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); } @@ -2439,12 +2122,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(); } @@ -2453,27 +2136,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; @@ -2488,4 +2171,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 71% 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 e06a057291..2661ee6e38 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -44,41 +26,37 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -87,29 +65,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 { @@ -120,16 +98,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 @@ -137,16 +111,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 @@ -154,15 +124,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() { @@ -172,16 +139,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 @@ -189,16 +152,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 @@ -206,15 +165,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() { @@ -224,14 +180,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SOURCE_TABLE_FIELD_NUMBER = 4; 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 +193,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,7 +224,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,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 { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -309,10 +262,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_); @@ -325,23 +280,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.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 (!getSourceTable() + .equals(other.getSourceTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -370,136 +329,130 @@ 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(); @@ -523,9 +476,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 @@ -544,8 +497,7 @@ 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); + com.google.bigtable.admin.v2.BackupInfo result = new com.google.bigtable.admin.v2.BackupInfo(this); result.backup_ = backup_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -566,39 +518,38 @@ public com.google.bigtable.admin.v2.BackupInfo 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.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; @@ -647,37 +598,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); + case 10: { + backup_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 34: - { - sourceTable_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: { + sourceTable_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -690,20 +640,18 @@ public Builder mergeFrom( 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; @@ -712,21 +660,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 { @@ -734,61 +681,54 @@ 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) { + public Builder setBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backup_ = value; 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() { - + backup_ = getDefaultInstance().getBackup(); onChanged(); 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) { + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backup_ = value; onChanged(); return this; @@ -796,37 +736,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -837,15 +766,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) { @@ -861,17 +787,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(); onChanged(); @@ -882,21 +806,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -908,15 +829,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() { if (startTimeBuilder_ == null) { @@ -930,62 +848,51 @@ 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() { - + onChanged(); 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_; @@ -993,37 +900,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1034,15 +930,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) { @@ -1058,17 +951,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(); onChanged(); @@ -1079,21 +970,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1105,15 +993,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() { if (endTimeBuilder_ == null) { @@ -1127,62 +1012,51 @@ 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() { - + onChanged(); 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_; @@ -1190,20 +1064,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; @@ -1212,21 +1084,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 { @@ -1234,68 +1105,61 @@ 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) { + public Builder setSourceTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); onChanged(); 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) { + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = 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); } @@ -1305,12 +1169,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(); } @@ -1319,27 +1183,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; @@ -1354,4 +1218,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 71% 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 2f255fd08f..e2cb01c11e 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,157 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } 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 74% 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 27ea79953f..c16b70431f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -39,13 +21,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
@@ -59,47 +38,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(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 30 days
@@ -108,15 +76,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 30 days
@@ -125,15 +89,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 30 days
@@ -142,14 +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]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -157,15 +114,11 @@ public interface BackupOrBuilder
    * row data in this backup will be no older than 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
@@ -173,15 +126,11 @@ public interface BackupOrBuilder
    * row data in this backup will be no older than 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
@@ -189,132 +138,93 @@ public interface BackupOrBuilder
    * row data in this backup will be no older than 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..7ade2d8126 --- /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\"\333\002\n\025Crea" + + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" + + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" + + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" + + "igtable.admin.v2.CreateInstanceRequest.C" + + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" + + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" + + ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\"o\n\024ListInstance" + + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\022\022\n" + + "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" + + "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" + + ".admin.v2.Instance\022\030\n\020failed_locations\030\002" + + " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" + + "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" + + "2\".google.bigtable.admin.v2.InstanceB\003\340A" + + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" + + "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" + + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\022\027\n\ncluster" + + "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" + + ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" + + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" + + "ableadmin.googleapis.com/Cluster\"h\n\023List" + + "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\022" + + "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" + + "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" + + "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" + + "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" + + "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" + + "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" + + "eInstanceMetadata\022I\n\020original_request\030\001 " + + "\001(\0132/.google.bigtable.admin.v2.CreateIns" + + "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" + + "teInstanceMetadata\022P\n\020original_request\030\001" + + " \001(\01326.google.bigtable.admin.v2.PartialU" + + "pdateInstanceRequest\0220\n\014request_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" + + "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" + + "reateClusterRequest\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" + + "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" + + "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" + + "TableProgress\022\034\n\024estimated_size_bytes\030\002 " + + "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" + + "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress.State\"" + + "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" + + "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" + + "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" + + "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress:\0028\001\"\267\001" + + "\n\025UpdateClusterMetadata\022;\n\020original_requ" + + "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" + + "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" + + "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022/\n\013finish_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" + + "riginal_request\030\003 \001(\01325.google.bigtable." + + "admin.v2.PartialUpdateClusterRequest\"\214\001\n" + + "\033PartialUpdateClusterRequest\0227\n\007cluster\030" + + "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" + + "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" + + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\022\033\n\016app_pr" + + "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" + + "2$.google.bigtable.admin.v2.AppProfileB\003" + + "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" + + "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" + + "ableadmin.googleapis.com/AppProfile\"~\n\026L" + + "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" + + "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" + + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " + + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" + + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" + + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" + + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" + + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" + + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" + + "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" + + "A)\n\'bigtableadmin.googleapis.com/AppProf" + + "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" + + "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" + + "eadmin.googleapis.com/Cluster\022.\n\nstart_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" + + "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" + + "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" + + "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" + + "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" + + "oogle.bigtable.admin.v2.CreateInstanceRe" + + "quest\032\035.google.longrunning.Operation\"x\202\323" + + "\344\223\002&\"!/v2/{parent=projects/*}/instances:" + + "\001*\332A$parent,instance_id,instance,cluster" + + "s\312A\"\n\010Instance\022\026CreateInstanceMetadata\022\221" + + "\001\n\013GetInstance\022,.google.bigtable.admin.v" + + "2.GetInstanceRequest\032\".google.bigtable.a" + + "dmin.v2.Instance\"0\202\323\344\223\002#\022!/v2/{name=proj" + + "ects/*/instances/*}\332A\004name\022\244\001\n\rListInsta" + + "nces\022..google.bigtable.admin.v2.ListInst" + + "ancesRequest\032/.google.bigtable.admin.v2." + + "ListInstancesResponse\"2\202\323\344\223\002#\022!/v2/{pare" + + "nt=projects/*}/instances\332A\006parent\022\206\001\n\016Up" + + "dateInstance\022\".google.bigtable.admin.v2." + + "Instance\032\".google.bigtable.admin.v2.Inst" + + "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" + + "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" + + "oogle.bigtable.admin.v2.PartialUpdateIns" + + "tanceRequest\032\035.google.longrunning.Operat" + + "ion\"x\202\323\344\223\00262*/v2/{instance.name=projects" + + "/*/instances/*}:\010instance\332A\024instance,upd" + + "ate_mask\312A\"\n\010Instance\022\026UpdateInstanceMet" + + "adata\022\213\001\n\016DeleteInstance\022/.google.bigtab" + + "le.admin.v2.DeleteInstanceRequest\032\026.goog" + + "le.protobuf.Empty\"0\202\323\344\223\002#*!/v2/{name=pro" + + "jects/*/instances/*}\332A\004name\022\334\001\n\rCreateCl" + + "uster\022..google.bigtable.admin.v2.CreateC" + + "lusterRequest\032\035.google.longrunning.Opera" + + "tion\"|\202\323\344\223\0027\",/v2/{parent=projects/*/ins" + + "tances/*}/clusters:\007cluster\332A\031parent,clu" + + "ster_id,cluster\312A \n\007Cluster\022\025CreateClust" + + "erMetadata\022\231\001\n\nGetCluster\022+.google.bigta" + + "ble.admin.v2.GetClusterRequest\032!.google." + + "bigtable.admin.v2.Cluster\";\202\323\344\223\002.\022,/v2/{" + + "name=projects/*/instances/*/clusters/*}\332" + + "A\004name\022\254\001\n\014ListClusters\022-.google.bigtabl" + + "e.admin.v2.ListClustersRequest\032..google." + + "bigtable.admin.v2.ListClustersResponse\"=" + + "\202\323\344\223\002.\022,/v2/{parent=projects/*/instances" + + "/*}/clusters\332A\006parent\022\255\001\n\rUpdateCluster\022" + + "!.google.bigtable.admin.v2.Cluster\032\035.goo" + + "gle.longrunning.Operation\"Z\202\323\344\223\0021\032,/v2/{" + + "name=projects/*/instances/*/clusters/*}:" + + "\001*\312A \n\007Cluster\022\025UpdateClusterMetadata\022\364\001" + + "\n\024PartialUpdateCluster\0225.google.bigtable" + + ".admin.v2.PartialUpdateClusterRequest\032\035." + + "google.longrunning.Operation\"\205\001\202\323\344\223\002?24/" + + "v2/{cluster.name=projects/*/instances/*/" + + "clusters/*}:\007cluster\332A\023cluster,update_ma" + + "sk\312A\'\n\007Cluster\022\034PartialUpdateClusterMeta" + + "data\022\224\001\n\rDeleteCluster\022..google.bigtable" + + ".admin.v2.DeleteClusterRequest\032\026.google." + + "protobuf.Empty\";\202\323\344\223\002.*,/v2/{name=projec" + + "ts/*/instances/*/clusters/*}\332A\004name\022\325\001\n\020" + + "CreateAppProfile\0221.google.bigtable.admin" + + ".v2.CreateAppProfileRequest\032$.google.big" + + "table.admin.v2.AppProfile\"h\202\323\344\223\002>\"//v2/{" + + "parent=projects/*/instances/*}/appProfil" + + "es:\013app_profile\332A!parent,app_profile_id," + + "app_profile\022\245\001\n\rGetAppProfile\022..google.b" + + "igtable.admin.v2.GetAppProfileRequest\032$." + + "google.bigtable.admin.v2.AppProfile\">\202\323\344" + + "\223\0021\022//v2/{name=projects/*/instances/*/ap" + + "pProfiles/*}\332A\004name\022\270\001\n\017ListAppProfiles\022" + + "0.google.bigtable.admin.v2.ListAppProfil" + + "esRequest\0321.google.bigtable.admin.v2.Lis" + + "tAppProfilesResponse\"@\202\323\344\223\0021\022//v2/{paren" + + "t=projects/*/instances/*}/appProfiles\332A\006" + + "parent\022\372\001\n\020UpdateAppProfile\0221.google.big" + + "table.admin.v2.UpdateAppProfileRequest\032\035" + + ".google.longrunning.Operation\"\223\001\202\323\344\223\002J2;" + + "/v2/{app_profile.name=projects/*/instanc" + + "es/*/appProfiles/*}:\013app_profile\332A\027app_p" + + "rofile,update_mask\312A&\n\nAppProfile\022\030Updat" + + "eAppProfileMetadata\022\235\001\n\020DeleteAppProfile" + + "\0221.google.bigtable.admin.v2.DeleteAppPro" + + "fileRequest\032\026.google.protobuf.Empty\">\202\323\344" + + "\223\0021*//v2/{name=projects/*/instances/*/ap" + + "pProfiles/*}\332A\004name\022\223\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"H\202\323\344\223\0027\"2/v2/{resource=p" + + "rojects/*/instances/*}:getIamPolicy:\001*\332A" + + "\010resource\022\232\001\n\014SetIamPolicy\022\".google.iam." + + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + + "olicy\"O\202\323\344\223\0027\"2/v2/{resource=projects/*/" + + "instances/*}:setIamPolicy:\001*\332A\017resource," + + "policy\022\305\001\n\022TestIamPermissions\022(.google.i" + + "am.v1.TestIamPermissionsRequest\032).google" + + ".iam.v1.TestIamPermissionsResponse\"Z\202\323\344\223" + + "\002=\"8/v2/{resource=projects/*/instances/*" + + "}:testIamPermissions:\001*\332A\024resource,permi" + + "ssions\022\277\001\n\016ListHotTablets\022/.google.bigta" + + "ble.admin.v2.ListHotTabletsRequest\0320.goo" + + "gle.bigtable.admin.v2.ListHotTabletsResp" + + "onse\"J\202\323\344\223\002;\0229/v2/{parent=projects/*/ins" + + "tances/*/clusters/*}/hotTablets\332A\006parent" + + "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" + + "tps://www.googleapis.com/auth/bigtable.a" + + "dmin,https://www.googleapis.com/auth/big" + + "table.admin.cluster,https://www.googleap" + + "is.com/auth/bigtable.admin.instance,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin,https://www.googleapis.com/auth" + + "/cloud-bigtable.admin.cluster,https://ww" + + "w.googleapis.com/auth/cloud-platform,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" + + "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/bigt" + + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" + + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" + + "in\\V2\352\002\"Google::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..bbcad227f5 --- /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,722 @@ +// 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; + + 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\"\261\001\n\023RestoreTableRequest" + + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + + "ource_type\030\002 \001(\0162+.google.bigtable.admin" + + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + + "(\0132$.google.bigtable.admin.v2.BackupInfo" + + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + + "min.v2.OperationProgressB\r\n\013source_info\"" + + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + + "le.admin.v2.OperationProgress\"\201\002\n\022Create" + + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + + "gtableadmin.googleapis.com/Instance\022\025\n\010t" + + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + + "al_splits\030\004 \003(\01322.google.bigtable.admin." + + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Instance\022\025\n\010table_id\030" + + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + + "\0162$.google.bigtable.admin.v2.Table.View\"" + + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + + "googleapis.com/Table\"P\n\024UndeleteTableReq" + + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" + + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" + + "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" + + "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" + + "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" + + "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" + + "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" + + "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" + + "ble\"=\n GenerateConsistencyTokenResponse\022" + + "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" + + "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\036\n\021consi" + + "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" + + "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" + + "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022=\n\007cl" + + "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" + + "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" + + "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" + + "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" + + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Snapshot\"{\n\024ListSnaps" + + "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" + + "tableadmin.googleapis.com/Cluster\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" + + "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" + + "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" + + "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" + + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" + + "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" + + "ogle.bigtable.admin.v2.SnapshotTableRequ" + + "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" + + "omSnapshotMetadata\022R\n\020original_request\030\001" + + " \001(\01328.google.bigtable.admin.v2.CreateTa" + + "bleFromSnapshotRequest\0220\n\014request_time\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + + "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" + + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + + "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" + + "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" + + "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" + + "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" + + "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" + + "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" + + "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" + + "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" + + "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" + + "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" + + "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" + + "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" + + "backups\030\001 \003(\0132 .google.bigtable.admin.v2" + + ".Backup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Big" + + "tableTableAdmin\022\253\001\n\013CreateTable\022,.google" + + ".bigtable.admin.v2.CreateTableRequest\032\037." + + "google.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*" + + "/v2/{parent=projects/*/instances/*}/tabl" + + "es:\001*\332A\025parent,table_id,table\022\212\002\n\027Create" + + "TableFromSnapshot\0228.google.bigtable.admi" + + "n.v2.CreateTableFromSnapshotRequest\032\035.go" + + "ogle.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2" + + "/{parent=projects/*/instances/*}/tables:" + + "createFromSnapshot:\001*\332A\037parent,table_id," + + "source_snapshot\312A(\n\005Table\022\037CreateTableFr" + + "omSnapshotMetadata\022\244\001\n\nListTables\022+.goog" + + "le.bigtable.admin.v2.ListTablesRequest\032," + + ".google.bigtable.admin.v2.ListTablesResp" + + "onse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/ins" + + "tances/*}/tables\332A\006parent\022\221\001\n\010GetTable\022)" + + ".google.bigtable.admin.v2.GetTableReques" + + "t\032\037.google.bigtable.admin.v2.Table\"9\202\323\344\223" + + "\002,\022*/v2/{name=projects/*/instances/*/tab" + + "les/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.b" + + "igtable.admin.v2.UpdateTableRequest\032\035.go" + + "ogle.longrunning.Operation\"r\202\323\344\223\002920/v2/" + + "{table.name=projects/*/instances/*/table" + + "s/*}:\005table\332A\021table,update_mask\312A\034\n\005Tabl" + + "e\022\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022," + + ".google.bigtable.admin.v2.DeleteTableReq" + + "uest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v" + + "2/{name=projects/*/instances/*/tables/*}" + + "\332A\004name\022\306\001\n\rUndeleteTable\022..google.bigta" + + "ble.admin.v2.UndeleteTableRequest\032\035.goog" + + "le.longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{n" + + "ame=projects/*/instances/*/tables/*}:und" + + "elete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTable" + + "Metadata\022\317\001\n\024ModifyColumnFamilies\0225.goog" + + "le.bigtable.admin.v2.ModifyColumnFamilie" + + "sRequest\032\037.google.bigtable.admin.v2.Tabl" + + "e\"_\202\323\344\223\002D\"?/v2/{name=projects/*/instance" + + "s/*/tables/*}:modifyColumnFamilies:\001*\332A\022" + + "name,modifications\022\231\001\n\014DropRowRange\022-.go" + + "ogle.bigtable.admin.v2.DropRowRangeReque" + + "st\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/" + + "{name=projects/*/instances/*/tables/*}:d" + + "ropRowRange:\001*\022\350\001\n\030GenerateConsistencyTo" + + "ken\0229.google.bigtable.admin.v2.GenerateC" + + "onsistencyTokenRequest\032:.google.bigtable" + + ".admin.v2.GenerateConsistencyTokenRespon" + + "se\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instanc" + + "es/*/tables/*}:generateConsistencyToken:" + + "\001*\332A\004name\022\332\001\n\020CheckConsistency\0221.google." + + "bigtable.admin.v2.CheckConsistencyReques" + + "t\0322.google.bigtable.admin.v2.CheckConsis" + + "tencyResponse\"_\202\323\344\223\002@\";/v2/{name=project" + + "s/*/instances/*/tables/*}:checkConsisten" + + "cy:\001*\332A\026name,consistency_token\022\352\001\n\rSnaps" + + "hotTable\022..google.bigtable.admin.v2.Snap" + + "shotTableRequest\032\035.google.longrunning.Op" + + "eration\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/i" + + "nstances/*/tables/*}:snapshot:\001*\332A$name," + + "cluster,snapshot_id,description\312A!\n\010Snap" + + "shot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnaps" + + "hot\022,.google.bigtable.admin.v2.GetSnapsh" + + "otRequest\032\".google.bigtable.admin.v2.Sna" + + "pshot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/inst" + + "ances/*/clusters/*/snapshots/*}\332A\004name\022\273" + + "\001\n\rListSnapshots\022..google.bigtable.admin" + + ".v2.ListSnapshotsRequest\032/.google.bigtab" + + "le.admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002" + + ":\0228/v2/{parent=projects/*/instances/*/cl" + + "usters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteS" + + "napshot\022/.google.bigtable.admin.v2.Delet" + + "eSnapshotRequest\032\026.google.protobuf.Empty" + + "\"G\202\323\344\223\002:*8/v2/{name=projects/*/instances" + + "/*/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Cr" + + "eateBackup\022-.google.bigtable.admin.v2.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups:\006backu" + + "p\332A\027parent,backup_id,backup\312A\036\n\006Backup\022\024" + + "CreateBackupMetadata\022\240\001\n\tGetBackup\022*.goo" + + "gle.bigtable.admin.v2.GetBackupRequest\032 " + + ".google.bigtable.admin.v2.Backup\"E\202\323\344\223\0028" + + "\0226/v2/{name=projects/*/instances/*/clust" + + "ers/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup" + + "\022-.google.bigtable.admin.v2.UpdateBackup" + + "Request\032 .google.bigtable.admin.v2.Backu" + + "p\"b\202\323\344\223\002G2=/v2/{backup.name=projects/*/i" + + "nstances/*/clusters/*/backups/*}:\006backup" + + "\332A\022backup,update_mask\022\234\001\n\014DeleteBackup\022-" + + ".google.bigtable.admin.v2.DeleteBackupRe" + + "quest\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/" + + "v2/{name=projects/*/instances/*/clusters" + + "/*/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.g" + + "oogle.bigtable.admin.v2.ListBackupsReque" + + "st\032-.google.bigtable.admin.v2.ListBackup" + + "sResponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups\332A\006pare" + + "nt\022\273\001\n\014RestoreTable\022-.google.bigtable.ad" + + "min.v2.RestoreTableRequest\032\035.google.long" + + "running.Operation\"]\202\323\344\223\0027\"2/v2/{parent=p" + + "rojects/*/instances/*}/tables:restore:\001*" + + "\312A\035\n\005Table\022\024RestoreTableMetadata\022\354\001\n\014Get" + + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" + + "quest\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";" + + "/v2/{resource=projects/*/instances/*/tab" + + "les/*}:getIamPolicy:\001*ZL\"G/v2/{resource=" + + "projects/*/instances/*/clusters/*/backup" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/" + + "v2/{resource=projects/*/instances/*/tabl" + + "es/*}:setIamPolicy:\001*ZL\"G/v2/{resource=p" + + "rojects/*/instances/*/clusters/*/backups" + + "/*}:setIamPolicy:\001*\332A\017resource,policy\022\244\002" + + "\n\022TestIamPermissions\022(.google.iam.v1.Tes" + + "tIamPermissionsRequest\032).google.iam.v1.T" + + "estIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2" + + "/{resource=projects/*/instances/*/tables" + + "/*}:testIamPermissions:\001*ZR\"M/v2/{resour" + + "ce=projects/*/instances/*/clusters/*/bac" + + "kups/*}:testIamPermissions:\001*\332A\024resource" + + ",permissions\032\336\002\312A\034bigtableadmin.googleap" + + "is.com\322A\273\002https://www.googleapis.com/aut" + + "h/bigtable.admin,https://www.googleapis." + + "com/auth/bigtable.admin.table,https://ww" + + "w.googleapis.com/auth/cloud-bigtable.adm" + + "in,https://www.googleapis.com/auth/cloud" + + "-bigtable.admin.table,https://www.google" + + "apis.com/auth/cloud-platform,https://www" + + ".googleapis.com/auth/cloud-platform.read" + + "-onlyB\337\001\n\034com.google.bigtable.admin.v2B\027" + + "BigtableTableAdminProtoP\001Z=google.golang" + + ".org/genproto/googleapis/bigtable/admin/" + + "v2;admin\252\002\036Google.Cloud.Bigtable.Admin.V" + + "2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Goo" + + "gle::Cloud::Bigtable::Admin::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + 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", }); + 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/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 000ecfa098..a8d025b2b2 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +27,39 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -92,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 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 { @@ -129,14 +103,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; 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 @@ -145,29 +116,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 { @@ -176,7 +147,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +158,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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 +189,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; } @@ -249,103 +221,96 @@ 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]
@@ -353,32 +318,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();
@@ -390,9 +356,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
@@ -411,8 +377,7 @@ 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);
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result = new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
       result.name_ = name_;
       result.consistencyToken_ = consistencyToken_;
       onBuilt();
@@ -423,39 +388,38 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest 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.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;
@@ -463,8 +427,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_;
         onChanged();
@@ -499,25 +462,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              consistencyToken_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -530,24 +490,20 @@ public Builder mergeFrom(
 
     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; @@ -556,25 +512,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 { @@ -582,73 +535,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -656,20 +596,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; @@ -678,21 +616,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 { @@ -700,68 +637,61 @@ 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) { + public Builder setConsistencyToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + consistencyToken_ = value; 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() { - + consistencyToken_ = getDefaultInstance().getConsistencyToken(); onChanged(); 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) { + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consistencyToken_ = 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); } @@ -771,12 +701,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(); } @@ -785,27 +715,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; @@ -820,4 +750,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 b6accf6535..15962b1e79 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 65% 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 1a074ebc66..6ebe974f30 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * 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 @@ -86,7 +65,6 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -112,7 +91,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; @@ -122,15 +102,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; } @@ -143,111 +123,104 @@ 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]
@@ -255,32 +228,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();
@@ -290,9 +264,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
@@ -311,8 +285,7 @@ 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);
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result = new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
       result.consistent_ = consistent_;
       onBuilt();
       return result;
@@ -322,39 +295,38 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse 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.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;
@@ -362,8 +334,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());
       }
@@ -393,19 +364,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consistent_ = input.readBool();
-
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              consistent_ = input.readBool();
+
+              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,17 +385,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -434,45 +400,39 @@ 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. */ public Builder setConsistent(boolean value) { - + consistent_ = value; onChanged(); 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() { - + consistent_ = false; 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); } @@ -482,12 +442,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(); } @@ -496,27 +456,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; @@ -531,4 +491,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 67% 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 f4f95f51a8..5bcf5b5180 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,43 +30,39 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -93,8 +71,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.
      * 
@@ -103,8 +79,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.
@@ -115,8 +89,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.
@@ -129,8 +101,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.
@@ -143,8 +113,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -153,8 +121,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.
      * 
@@ -163,8 +129,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.
@@ -175,8 +139,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.
@@ -189,8 +151,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.
@@ -200,6 +160,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(
@@ -224,53 +185,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;
@@ -287,153 +246,116 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -441,34 +363,23 @@ 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() { @@ -478,16 +389,11 @@ public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLim 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 @@ -495,43 +401,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() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { return getAutoscalingTargets(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,7 +436,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -560,11 +454,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; @@ -574,21 +469,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; @@ -615,94 +511,87 @@ 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 @@ -712,41 +601,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(); @@ -766,14 +653,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(); } @@ -788,8 +674,7 @@ 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); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); if (autoscalingLimitsBuilder_ == null) { result.autoscalingLimits_ = autoscalingLimits_; } else { @@ -808,52 +693,46 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -886,27 +765,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + break; + } // case 10 + case 18: { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), + extensionRegistry); + + 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,58 +797,39 @@ public Builder mergeFrom( 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 autoscalingLimitsBuilder_ != null || 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. */ 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) { @@ -986,15 +845,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) { @@ -1008,23 +863,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 (autoscalingLimits_ != null) { autoscalingLimits_ = - com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder(autoscalingLimits_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder(autoscalingLimits_).mergeFrom(value).buildPartial(); } else { autoscalingLimits_ = value; } @@ -1036,15 +885,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() { if (autoscalingLimitsBuilder_ == null) { @@ -1058,65 +903,48 @@ 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() { - + onChanged(); 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_; @@ -1124,58 +952,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 autoscalingTargetsBuilder_ != null || 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. */ 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) { @@ -1191,15 +1000,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) { @@ -1213,24 +1018,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 (autoscalingTargets_ != null) { autoscalingTargets_ = - com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder(autoscalingTargets_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder(autoscalingTargets_).mergeFrom(value).buildPartial(); } else { autoscalingTargets_ = value; } @@ -1242,15 +1040,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() { if (autoscalingTargetsBuilder_ == null) { @@ -1264,71 +1058,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() { + 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) { @@ -1341,44 +1116,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; @@ -1390,119 +1162,95 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -1510,44 +1258,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() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { return getClusterAutoscalingConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1559,7 +1293,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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 +1308,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 +1319,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 +1352,87 @@ 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 +1442,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 +1488,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,8 +1509,7 @@ 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); + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); if (clusterAutoscalingConfigBuilder_ == null) { result.clusterAutoscalingConfig_ = clusterAutoscalingConfig_; } else { @@ -1799,41 +1523,38 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig 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.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; @@ -1841,8 +1562,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()); } @@ -1872,20 +1592,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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) { @@ -1896,65 +1615,43 @@ public Builder mergeFrom( return this; } - 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 clusterAutoscalingConfigBuilder_ != null || 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. */ - 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(); @@ -1968,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) { @@ -1990,25 +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 (clusterAutoscalingConfig_ != null) { clusterAutoscalingConfig_ = - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder( - clusterAutoscalingConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder(clusterAutoscalingConfig_).mergeFrom(value).buildPartial(); } else { clusterAutoscalingConfig_ = value; } @@ -2020,15 +1705,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() { if (clusterAutoscalingConfigBuilder_ == null) { @@ -2042,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() { + 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) { @@ -2119,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(); } @@ -2133,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; @@ -2169,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:
@@ -2193,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:
@@ -2214,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.
@@ -2229,51 +1883,47 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     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:
@@ -2288,7 +1938,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 @@ -2297,15 +1946,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:
@@ -2320,15 +1968,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 { @@ -2337,7 +1986,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2349,7 +1997,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2373,15 +2022,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; } @@ -2401,94 +2050,87 @@ 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 @@ -2498,8 +2140,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2507,33 +2147,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();
@@ -2543,9 +2183,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
@@ -2564,8 +2204,7 @@ 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);
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
         result.kmsKeyName_ = kmsKeyName_;
         onBuilt();
         return result;
@@ -2575,41 +2214,38 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig 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.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;
@@ -2617,8 +2253,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_;
           onChanged();
@@ -2649,19 +2284,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  kmsKeyName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                kmsKeyName_ = input.readStringRequireUtf8();
+
+                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) {
@@ -2674,8 +2307,6 @@ public Builder mergeFrom(
 
       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:
@@ -2690,13 +2321,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; @@ -2705,8 +2336,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:
@@ -2721,14 +2350,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 { @@ -2736,8 +2366,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:
@@ -2752,22 +2380,20 @@ 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) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; 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:
@@ -2782,18 +2408,15 @@ public Builder setKmsKeyName(java.lang.String value) {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); 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:
@@ -2808,21 +2431,20 @@ 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) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2835,12 +2457,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(); } @@ -2849,28 +2471,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; @@ -2885,19 +2506,17 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int configCase_ = 0; 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; } @@ -2913,36 +2532,31 @@ 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; 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 @@ -2951,30 +2565,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 { @@ -2985,8 +2599,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LOCATION_FIELD_NUMBER = 2; 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
@@ -2994,10 +2606,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 @@ -3006,15 +2615,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
@@ -3022,18 +2630,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 { @@ -3044,55 +2651,39 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int STATE_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.valueOf(state_); + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.valueOf(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_; /** - * - * *
    * 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 @@ -3102,14 +2693,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 @@ -3117,26 +2705,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.
    * 
@@ -3146,7 +2729,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(); } @@ -3154,58 +2737,40 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.valueOf(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.valueOf(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 @@ -3213,43 +2778,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() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3261,7 +2813,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -3274,8 +2827,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) { @@ -3300,22 +2852,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; @@ -3325,26 +2879,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: @@ -3387,103 +2946,97 @@ 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
@@ -3492,32 +3045,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();
@@ -3546,9 +3100,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
@@ -3594,39 +3148,38 @@ public com.google.bigtable.admin.v2.Cluster 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.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;
@@ -3656,15 +3209,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();
@@ -3692,56 +3243,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                location_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              location_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
 
-                break;
-              } // case 24
-            case 32:
-              {
-                serveNodes_ = input.readInt32();
+              break;
+            } // case 24
+            case 32: {
+              serveNodes_ = input.readInt32();
 
-                break;
-              } // case 32
-            case 40:
-              {
-                defaultStorageType_ = input.readEnum();
+              break;
+            } // case 32
+            case 40: {
+              defaultStorageType_ = input.readEnum();
 
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                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:
+              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) {
@@ -3751,12 +3297,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() {
@@ -3766,23 +3312,22 @@ public Builder clearConfig() {
       return this;
     }
 
+
     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; @@ -3791,22 +3336,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 { @@ -3814,64 +3358,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3879,8 +3416,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
@@ -3888,16 +3423,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; @@ -3906,8 +3439,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
@@ -3915,17 +3446,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 { @@ -3933,8 +3463,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
@@ -3942,25 +3470,21 @@ 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) { + public Builder setLocation( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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
@@ -3968,21 +3492,16 @@ 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() { - + location_ = getDefaultInstance().getLocation(); 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
@@ -3990,19 +3509,17 @@ 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) { + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -4010,73 +3527,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.valueOf(state_); + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.valueOf(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. */ @@ -4084,42 +3579,34 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); 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 @@ -4127,57 +3614,45 @@ 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. */ public Builder setServeNodes(int value) { - + serveNodes_ = value; onChanged(); 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() { - + serveNodes_ = 0; onChanged(); return this; } 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 @@ -4185,14 +3660,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 @@ -4210,8 +3682,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4232,8 +3702,6 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4252,8 +3720,6 @@ public Builder setClusterConfig( return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4262,13 +3728,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; } @@ -4284,8 +3747,6 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4309,8 +3770,6 @@ public Builder clearClusterConfig() { return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4321,8 +3780,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4341,8 +3798,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4350,103 +3805,75 @@ 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()); config_ = null; } configCase_ = 7; - onChanged(); - ; + onChanged();; return clusterConfigBuilder_; } 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. */ public Builder setDefaultStorageTypeValue(int value) { - + defaultStorageType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.valueOf(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.valueOf(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. */ @@ -4454,27 +3881,22 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va if (value == null) { throw new NullPointerException(); } - + defaultStorageType_ = value.getNumber(); onChanged(); 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() { - + defaultStorageType_ = 0; onChanged(); return this; @@ -4482,61 +3904,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 encryptionConfigBuilder_ != null || 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. */ 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(); @@ -4550,15 +3952,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) { @@ -4572,24 +3970,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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder(encryptionConfig_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } @@ -4601,15 +3992,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() { if (encryptionConfigBuilder_ == null) { @@ -4623,73 +4010,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() { + 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); } @@ -4699,12 +4068,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(); } @@ -4713,27 +4082,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; @@ -4748,4 +4117,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 e41ca7a93a..8f13624a21 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 5735bb824b..360333a243 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,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
@@ -79,7 +59,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 @@ -87,8 +66,6 @@ public boolean hasGcRule() { return gcRule_ != null; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -98,7 +75,6 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ @java.lang.Override @@ -106,8 +82,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.
@@ -124,7 +98,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -136,7 +109,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (gcRule_ != null) {
       output.writeMessage(1, getGcRule());
     }
@@ -150,7 +124,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;
@@ -160,17 +135,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;
@@ -192,136 +167,130 @@ 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(); @@ -335,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 @@ -356,8 +325,7 @@ 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); + com.google.bigtable.admin.v2.ColumnFamily result = new com.google.bigtable.admin.v2.ColumnFamily(this); if (gcRuleBuilder_ == null) { result.gcRule_ = gcRule_; } else { @@ -371,39 +339,38 @@ public com.google.bigtable.admin.v2.ColumnFamily 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.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; @@ -441,19 +408,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcRuleFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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,13 +433,8 @@ public Builder mergeFrom( 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.
@@ -482,15 +444,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return gcRuleBuilder_ != null || gcRule_ != null; } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -500,7 +459,6 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -511,8 +469,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -537,8 +493,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.
@@ -549,7 +503,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();
         onChanged();
@@ -560,8 +515,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.
@@ -576,9 +529,7 @@ public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
         if (gcRule_ != null) {
           gcRule_ =
-              com.google.bigtable.admin.v2.GcRule.newBuilder(gcRule_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.admin.v2.GcRule.newBuilder(gcRule_).mergeFrom(value).buildPartial();
         } else {
           gcRule_ = value;
         }
@@ -590,8 +541,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.
@@ -614,8 +563,6 @@ public Builder clearGcRule() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -627,13 +574,11 @@ public Builder clearGcRule() {
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
     public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
-
+      
       onChanged();
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -648,12 +593,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.
@@ -665,24 +609,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);
     }
 
@@ -692,12 +633,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();
   }
@@ -706,27 +647,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;
@@ -741,4 +682,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 70%
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 73a9995428..9dd5eb5347 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
@@ -35,13 +17,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.
@@ -51,13 +30,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/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 67%
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 631369711d..a6c7f4fa66 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,45 +26,39 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -91,33 +67,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 { @@ -128,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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
@@ -137,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ @java.lang.Override @@ -146,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; } } /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -162,15 +132,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 { @@ -181,17 +152,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 @@ -199,36 +165,25 @@ 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() { @@ -238,14 +193,11 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_; /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -254,7 +206,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +217,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -295,10 +247,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; @@ -308,21 +262,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; } @@ -343,142 +300,137 @@ 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(); @@ -498,9 +450,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 @@ -519,8 +471,7 @@ 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); + com.google.bigtable.admin.v2.CreateAppProfileRequest result = new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); result.parent_ = parent_; result.appProfileId_ = appProfileId_; if (appProfileBuilder_ == null) { @@ -537,39 +488,38 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest 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.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; @@ -577,8 +527,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_; onChanged(); @@ -619,37 +568,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - case 32: - { - ignoreWarnings_ = input.readBool(); + break; + } // case 26 + case 32: { + ignoreWarnings_ = input.readBool(); - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -662,24 +608,20 @@ public Builder mergeFrom( 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; @@ -688,25 +630,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 { @@ -714,73 +653,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -788,8 +714,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
@@ -797,13 +721,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; @@ -812,8 +736,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
@@ -821,14 +743,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 { @@ -836,8 +759,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
@@ -845,22 +766,20 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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
@@ -868,18 +787,15 @@ 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); 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
@@ -887,16 +803,16 @@ 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -904,61 +820,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 appProfileBuilder_ != null || 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. */ 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) { @@ -974,18 +871,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(); onChanged(); @@ -996,24 +890,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 (appProfile_ != null) { appProfile_ = - com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_).mergeFrom(value).buildPartial(); } else { appProfile_ = value; } @@ -1025,16 +913,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() { if (appProfileBuilder_ == null) { @@ -1048,82 +932,63 @@ 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() { - + onChanged(); 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 @@ -1131,43 +996,37 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); return this; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { - + ignoreWarnings_ = false; 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); } @@ -1177,12 +1036,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(); } @@ -1191,27 +1050,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; @@ -1226,4 +1085,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 65d15a68b3..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 457f33ef61..a22b6b555b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,41 +27,37 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,29 +66,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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 { @@ -121,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; 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 @@ -137,29 +112,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 { @@ -170,14 +145,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 @@ -185,14 +157,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 @@ -200,8 +169,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -216,14 +183,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 @@ -231,14 +195,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 @@ -246,8 +207,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.
    * 
@@ -260,7 +219,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,7 +230,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -301,10 +260,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; @@ -314,23 +275,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; @@ -361,103 +325,96 @@ 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].
@@ -465,32 +422,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();
@@ -514,9 +472,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
@@ -535,8 +493,7 @@ 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);
+      com.google.bigtable.admin.v2.CreateBackupMetadata result = new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
       result.name_ = name_;
       result.sourceTable_ = sourceTable_;
       if (startTimeBuilder_ == null) {
@@ -557,39 +514,38 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata 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.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;
@@ -597,8 +553,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_;
         onChanged();
@@ -639,37 +594,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceTable_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              sourceTable_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -682,20 +636,18 @@ public Builder mergeFrom(
 
     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; @@ -704,21 +656,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 { @@ -726,61 +677,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -788,20 +732,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; @@ -810,21 +752,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 { @@ -832,61 +773,54 @@ 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) { + public Builder setSourceTable( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); onChanged(); 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) { + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = value; onChanged(); return this; @@ -894,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -931,8 +856,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -953,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(); onChanged(); @@ -972,8 +894,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -984,7 +904,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -996,8 +916,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1016,8 +934,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1025,13 +941,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1042,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.
      * 
@@ -1055,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_; @@ -1073,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -1110,8 +1011,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1132,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(); onChanged(); @@ -1151,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.
      * 
@@ -1163,7 +1059,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1175,8 +1071,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1195,8 +1089,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1204,13 +1096,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1221,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.
      * 
@@ -1234,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); } @@ -1261,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(); } @@ -1275,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; @@ -1310,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 6742786b2a..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 a897824bcd..159fa121ea 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
  * 
* * 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_ = ""; @@ -44,45 +26,39 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -91,33 +67,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 { @@ -128,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int BACKUP_ID_FIELD_NUMBER = 2; 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 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -149,15 +120,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 +138,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 +158,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 +170,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 +182,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 +194,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 +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_); } @@ -272,7 +232,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 +243,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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,136 +283,130 @@ 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].
    * 
* * 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(); @@ -467,9 +424,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 @@ -488,8 +445,7 @@ 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); + com.google.bigtable.admin.v2.CreateBackupRequest result = new com.google.bigtable.admin.v2.CreateBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; if (backupBuilder_ == null) { @@ -505,39 +461,38 @@ public com.google.bigtable.admin.v2.CreateBackupRequest 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.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; @@ -545,8 +500,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_; onChanged(); @@ -584,31 +538,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - backupId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + backupId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -621,24 +573,20 @@ public Builder mergeFrom( 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; @@ -647,25 +595,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 { @@ -673,73 +618,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -747,8 +679,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
@@ -759,13 +689,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; @@ -774,8 +704,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
@@ -786,14 +714,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 { @@ -801,8 +730,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
@@ -813,22 +740,20 @@ 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) { + public Builder setBackupId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; 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
@@ -839,18 +764,15 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -861,16 +783,16 @@ 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) { + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -878,35 +800,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 backupBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -917,14 +828,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) { @@ -940,16 +848,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(); onChanged(); @@ -960,22 +866,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 (backup_ != null) { backup_ = - com.google.bigtable.admin.v2.Backup.newBuilder(backup_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); } else { backup_ = value; } @@ -987,14 +888,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() { if (backupBuilder_ == null) { @@ -1008,66 +906,55 @@ 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() { - + onChanged(); 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); } @@ -1077,12 +964,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(); } @@ -1091,27 +978,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; @@ -1126,4 +1013,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 0f6ef2b786..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 13c30f5d4a..feb62a98e4 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,102 +1,79 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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
@@ -104,80 +81,76 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
        * 
@@ -186,8 +159,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -196,8 +167,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COPYING(2), /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -206,8 +175,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
@@ -220,11 +187,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.
        * 
@@ -233,8 +200,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.
        * 
@@ -243,8 +208,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.
        * 
@@ -253,8 +216,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
@@ -265,6 +226,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(
@@ -289,55 +251,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;
@@ -357,14 +315,11 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_;
     /**
-     *
-     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -375,8 +330,6 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; 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
@@ -384,7 +337,6 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -396,30 +348,22 @@ public long getEstimatedCopiedBytes() { private int state_; /** * .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() { + @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.valueOf(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.valueOf(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; @@ -431,17 +375,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); @@ -454,16 +396,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; @@ -473,16 +415,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; @@ -496,9 +439,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(); @@ -507,95 +452,87 @@ 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 @@ -605,42 +542,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(); @@ -654,16 +588,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 @@ -677,8 +609,7 @@ 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); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); result.estimatedSizeBytes_ = estimatedSizeBytes_; result.estimatedCopiedBytes_ = estimatedCopiedBytes_; result.state_ = state_; @@ -690,53 +621,46 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -772,31 +696,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - estimatedSizeBytes_ = input.readInt64(); - - break; - } // case 16 - case 24: - { - estimatedCopiedBytes_ = input.readInt64(); - - break; - } // case 24 - case 32: - { - state_ = input.readEnum(); - - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + estimatedSizeBytes_ = input.readInt64(); + + break; + } // case 16 + case 24: { + estimatedCopiedBytes_ = input.readInt64(); + + break; + } // case 24 + case 32: { + state_ = input.readEnum(); + + 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,16 +727,13 @@ public Builder mergeFrom( return this; } - 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 @@ -824,45 +741,37 @@ 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. */ public Builder setEstimatedSizeBytes(long value) { - + estimatedSizeBytes_ = value; onChanged(); 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() { - + estimatedSizeBytes_ = 0L; onChanged(); 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
@@ -870,7 +779,6 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -878,8 +786,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
@@ -887,19 +793,16 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ public Builder setEstimatedCopiedBytes(long value) { - + estimatedCopiedBytes_ = value; onChanged(); 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
@@ -907,11 +810,10 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { - + estimatedCopiedBytes_ = 0L; onChanged(); return this; @@ -920,67 +822,56 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** * .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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.valueOf(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.valueOf(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(); } - + state_ = value.getNumber(); onChanged(); return this; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -993,44 +884,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; @@ -1042,23 +930,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 @@ -1066,25 +951,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.
    * 
@@ -1099,14 +977,11 @@ public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalReq 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 @@ -1114,14 +989,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 @@ -1129,8 +1001,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.
    * 
@@ -1145,14 +1015,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 @@ -1160,14 +1027,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 @@ -1175,8 +1039,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.
    * 
@@ -1189,33 +1051,24 @@ 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()); } - - 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_; } @@ -1224,8 +1077,6 @@ 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.
@@ -1236,28 +1087,24 @@ 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.
@@ -1268,19 +1115,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 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.
@@ -1291,25 +1133,19 @@ 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 getTablesOrDefault( java.lang.String key, 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(); + 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.
@@ -1320,19 +1156,15 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable
    * 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(); } @@ -1340,7 +1172,6 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1352,7 +1183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1362,8 +1194,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); } @@ -1374,26 +1210,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; @@ -1403,27 +1239,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; } @@ -1457,155 +1296,151 @@ 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(); @@ -1632,9 +1467,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 @@ -1653,8 +1488,7 @@ 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); + com.google.bigtable.admin.v2.CreateClusterMetadata result = new com.google.bigtable.admin.v2.CreateClusterMetadata(this); int from_bitField0_ = bitField0_; if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; @@ -1681,39 +1515,38 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata 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.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; @@ -1721,8 +1554,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()); } @@ -1732,7 +1564,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()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1759,45 +1592,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); - 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()); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + tables__ = input.readMessage( + TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTables().getMutableMap().put( + tables__.getKey(), tables__.getValue()); + 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) { @@ -1807,52 +1636,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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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.
      * 
@@ -1873,8 +1688,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1893,8 +1706,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1905,9 +1716,7 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -1919,8 +1728,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1939,8 +1746,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1948,32 +1753,26 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -1981,17 +1780,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_; @@ -1999,47 +1795,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -2060,15 +1843,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(); onChanged(); @@ -2079,8 +1861,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2091,9 +1871,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -2105,8 +1883,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2125,8 +1901,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2134,13 +1908,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2151,14 +1923,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.
      * 
@@ -2166,17 +1935,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_; @@ -2184,47 +1950,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -2245,15 +1998,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(); onChanged(); @@ -2264,8 +2016,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2276,7 +2026,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -2288,8 +2038,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2308,8 +2056,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2317,13 +2063,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2334,14 +2078,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.
      * 
@@ -2349,42 +2090,35 @@ 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> - 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - internalGetMutableTables() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableTables() { + onChanged();; 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(); @@ -2396,8 +2130,6 @@ 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.
@@ -2408,28 +2140,24 @@ 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.
@@ -2440,19 +2168,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 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.
@@ -2463,25 +2186,19 @@ 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 getTablesOrDefault( java.lang.String key, 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(); + 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.
@@ -2492,19 +2209,15 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable
      * 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(); } @@ -2512,12 +2225,11 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } public Builder clearTables() { - 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.
@@ -2528,27 +2240,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> - getMutableTables() { + public java.util.Map + getMutableTables() { return internalGetMutableTables().getMutableMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2559,26 +2269,21 @@ 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 (key == null) { throw new NullPointerException("map key"); } if (value == null) { - throw new NullPointerException("map value"); - } + throw new NullPointerException("map value"); +} - internalGetMutableTables().getMutableMap().put(key, value); + internalGetMutableTables().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2589,20 +2294,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); 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); } @@ -2612,12 +2315,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(); } @@ -2626,27 +2329,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; @@ -2661,4 +2364,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 dde9742012..cfd598e40a 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -141,14 +99,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.
@@ -159,18 +113,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.
@@ -181,15 +134,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.
@@ -200,19 +149,15 @@ 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.
@@ -223,10 +168,9 @@ 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 66% 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 f6666ab297..175c0bd544 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +26,39 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -91,33 +67,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 { @@ -128,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 2; 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
@@ -137,7 +109,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -146,15 +117,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
@@ -162,15 +132,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 { @@ -181,16 +152,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 @@ -198,16 +165,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 @@ -215,15 +178,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() { @@ -231,7 +191,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -243,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -269,7 +229,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; @@ -279,19 +240,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; @@ -318,135 +281,129 @@ 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(); @@ -464,9 +421,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 @@ -485,8 +442,7 @@ 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); + com.google.bigtable.admin.v2.CreateClusterRequest result = new com.google.bigtable.admin.v2.CreateClusterRequest(this); result.parent_ = parent_; result.clusterId_ = clusterId_; if (clusterBuilder_ == null) { @@ -502,39 +458,38 @@ public com.google.bigtable.admin.v2.CreateClusterRequest 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.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; @@ -542,8 +497,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_; onChanged(); @@ -581,31 +535,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -618,24 +570,20 @@ public Builder mergeFrom( 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; @@ -644,25 +592,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 { @@ -670,73 +615,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -744,8 +676,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
@@ -753,13 +683,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; @@ -768,8 +698,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
@@ -777,14 +705,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 { @@ -792,8 +721,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
@@ -801,22 +728,20 @@ 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) { + public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -824,18 +749,15 @@ public Builder setClusterId(java.lang.String value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -843,16 +765,16 @@ 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) { + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -860,61 +782,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 clusterBuilder_ != null || 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. */ 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) { @@ -930,18 +833,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(); onChanged(); @@ -952,24 +852,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 (cluster_ != null) { cluster_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); } else { cluster_ = value; } @@ -981,16 +875,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() { if (clusterBuilder_ == null) { @@ -1004,74 +894,58 @@ 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() { - + onChanged(); 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); } @@ -1081,12 +955,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(); } @@ -1095,27 +969,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; @@ -1130,4 +1004,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 35c9ee104a..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 71% 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 75394c9779..e3016c5c2c 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -116,14 +88,11 @@ public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRe 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 @@ -131,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 @@ -146,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.
    * 
@@ -162,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 @@ -177,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 @@ -192,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.
    * 
@@ -206,7 +162,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,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()); } @@ -238,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; @@ -254,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.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; @@ -303,135 +264,129 @@ 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(); @@ -457,9 +412,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 @@ -478,8 +433,7 @@ 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); + com.google.bigtable.admin.v2.CreateInstanceMetadata result = new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -503,39 +457,38 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata 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.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; @@ -543,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()); } @@ -580,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -617,47 +571,34 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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 +619,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -698,8 +637,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -710,9 +647,7 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -724,8 +659,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -744,8 +677,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -753,32 +684,26 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -786,17 +711,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_; @@ -804,47 +726,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -865,15 +774,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(); onChanged(); @@ -884,8 +792,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -896,9 +802,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -910,8 +814,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -930,8 +832,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -939,13 +839,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -956,14 +854,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.
      * 
@@ -971,17 +866,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_; @@ -989,47 +881,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1050,15 +929,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(); onChanged(); @@ -1069,8 +947,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1081,7 +957,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -1093,8 +969,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1113,8 +987,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1122,13 +994,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1139,14 +1009,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.
      * 
@@ -1154,24 +1021,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); } @@ -1181,12 +1045,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(); } @@ -1195,27 +1059,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; @@ -1230,4 +1094,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 c12b184f4f..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 0b74c6577f..6b5883ed7b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,55 +26,50 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -101,32 +78,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 { @@ -137,8 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; 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
@@ -146,7 +119,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -155,15 +127,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
@@ -171,15 +142,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 { @@ -190,17 +162,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 @@ -208,36 +175,25 @@ 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() { @@ -245,28 +201,24 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { } 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()); } - + 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_; } @@ -275,8 +227,6 @@ 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
@@ -285,26 +235,24 @@ 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
@@ -313,17 +261,14 @@ 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
@@ -332,23 +277,19 @@ 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 getClustersOrDefault( - java.lang.String key, com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -357,15 +298,13 @@ public 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]; */ @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)) { @@ -375,7 +314,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; @@ -387,7 +325,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -397,8 +336,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); } @@ -415,18 +358,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; @@ -436,21 +379,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; } @@ -480,155 +426,151 @@ 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(); @@ -647,9 +589,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 @@ -668,8 +610,7 @@ 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); + com.google.bigtable.admin.v2.CreateInstanceRequest result = new com.google.bigtable.admin.v2.CreateInstanceRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.instanceId_ = instanceId_; @@ -688,39 +629,38 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest 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.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; @@ -728,8 +668,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_; onChanged(); @@ -741,7 +680,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()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -768,43 +708,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry - clusters__ = - input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableClusters() - .getMutableMap() - .put(clusters__.getKey(), clusters__.getValue()); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + clusters__ = input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusters().getMutableMap().put( + clusters__.getKey(), clusters__.getValue()); + 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) { @@ -814,28 +748,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; @@ -844,24 +773,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 { @@ -869,70 +795,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -940,8 +853,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
@@ -949,13 +860,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; @@ -964,8 +875,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
@@ -973,14 +882,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 { @@ -988,8 +898,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
@@ -997,22 +905,20 @@ 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) { + public Builder setInstanceId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1020,18 +926,15 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1039,16 +942,16 @@ 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) { + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -1056,61 +959,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 instanceBuilder_ != null || 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. */ 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) { @@ -1126,18 +1010,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(); onChanged(); @@ -1148,24 +1029,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 (instance_ != null) { instance_ = - com.google.bigtable.admin.v2.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -1177,16 +1052,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() { if (instanceBuilder_ == null) { @@ -1200,90 +1071,72 @@ 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() { - + onChanged(); 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< + 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_; } - private com.google.protobuf.MapField - internalGetMutableClusters() { - onChanged(); - ; + internalGetMutableClusters() { + onChanged();; 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(); @@ -1295,8 +1148,6 @@ 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
@@ -1305,26 +1156,24 @@ 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
@@ -1333,17 +1182,14 @@ 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
@@ -1352,23 +1198,19 @@ 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 getClustersOrDefault( - java.lang.String key, com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -1377,15 +1219,13 @@ public 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]; */ @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)) { @@ -1395,12 +1235,11 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } public Builder clearClusters() { - 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
@@ -1409,26 +1248,25 @@ 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() { + getMutableClusters() { return internalGetMutableClusters().getMutableMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1437,24 +1275,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableClusters().getMutableMap().put(key, value); + internalGetMutableClusters().getMutableMap() + .put(key, value); return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1463,18 +1298,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); 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); } @@ -1484,12 +1319,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(); } @@ -1498,27 +1333,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; @@ -1533,4 +1368,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 28f763e442..169860ec71 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,19 +136,15 @@ 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
@@ -210,9 +153,9 @@ 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 71% 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 cb326cf4ce..590b2dbaca 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateTableFromSnapshot.
  * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -31,57 +14,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -89,26 +67,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.
@@ -117,22 +88,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() {
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
     return getOriginalRequest();
   }
 
   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 @@ -140,14 +107,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 @@ -155,8 +119,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.
    * 
@@ -171,14 +133,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 @@ -186,14 +145,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 @@ -201,8 +157,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.
    * 
@@ -215,7 +169,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -247,13 +201,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; @@ -263,25 +220,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; @@ -312,104 +271,96 @@ 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.
    * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -420,32 +371,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();
@@ -471,14 +423,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();
     }
 
@@ -493,8 +444,7 @@ 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);
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
       if (originalRequestBuilder_ == null) {
         result.originalRequest_ = originalRequest_;
       } else {
@@ -518,39 +468,38 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata 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.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;
@@ -558,9 +507,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());
       }
@@ -596,31 +543,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -633,49 +582,36 @@ public Builder mergeFrom(
 
     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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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.
@@ -683,8 +619,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();
@@ -698,8 +633,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -719,8 +652,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -728,15 +659,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 (originalRequest_ != null) {
           originalRequest_ =
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder(
-                      originalRequest_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial();
         } else {
           originalRequest_ = value;
         }
@@ -748,8 +675,6 @@ public Builder mergeOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -769,8 +694,6 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -778,15 +701,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() {
+      
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -794,19 +714,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.
@@ -815,17 +731,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_;
@@ -833,47 +746,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -894,15 +794,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(); onChanged(); @@ -913,8 +812,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -925,9 +822,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -939,8 +834,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -959,8 +852,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -968,13 +859,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -985,14 +874,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 +886,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 +901,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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 +949,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(); onChanged(); @@ -1098,8 +967,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1110,7 +977,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -1122,8 +989,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1142,8 +1007,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1151,13 +1014,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1168,14 +1029,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 +1041,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 +1065,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 +1079,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 +1114,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 ef8e7ecae3..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 392837847b..3c90b66b71 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,17 +15,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_ = "";
@@ -51,44 +32,38 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -97,32 +72,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 { @@ -133,15 +106,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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 +120,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 { @@ -184,8 +154,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; 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.
@@ -193,10 +161,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 @@ -205,15 +170,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.
@@ -221,18 +185,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 { @@ -241,7 +204,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -253,7 +215,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -289,17 +252,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; } @@ -323,104 +288,96 @@ 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]
@@ -432,32 +389,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();
@@ -471,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
@@ -492,8 +450,7 @@ 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);
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
       result.parent_ = parent_;
       result.tableId_ = tableId_;
       result.sourceSnapshot_ = sourceSnapshot_;
@@ -505,39 +462,38 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest 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.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;
@@ -545,8 +501,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_;
         onChanged();
@@ -585,31 +540,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceSnapshot_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              sourceSnapshot_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,23 +573,19 @@ public Builder mergeFrom(
 
     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; @@ -647,24 +594,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 { @@ -672,70 +616,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,21 +674,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; @@ -766,22 +695,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 { @@ -789,64 +717,57 @@ 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) { + public Builder setTableId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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() { - + tableId_ = getDefaultInstance().getTableId(); 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]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; @@ -854,8 +775,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.
@@ -863,16 +782,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; @@ -881,8 +798,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.
@@ -890,17 +805,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 { @@ -908,8 +822,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.
@@ -917,25 +829,21 @@ 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) { + public Builder setSourceSnapshot( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceSnapshot_ = value; 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.
@@ -943,21 +851,16 @@ 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() { - + sourceSnapshot_ = getDefaultInstance().getSourceSnapshot(); 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.
@@ -965,26 +868,24 @@ 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) { + public Builder setSourceSnapshotBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceSnapshot_ = 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); } @@ -994,12 +895,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(); } @@ -1008,27 +909,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; @@ -1043,4 +944,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 f3a5b86e8f..124b4dfade 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -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.
@@ -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 f5d6c6f995..b7328732e2 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,108 +28,96 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -156,7 +126,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -182,7 +152,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; @@ -192,15 +163,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; } @@ -220,94 +191,87 @@ 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 @@ -317,41 +281,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(); @@ -361,9 +323,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 @@ -382,8 +344,7 @@ 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); + com.google.bigtable.admin.v2.CreateTableRequest.Split result = new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); result.key_ = key_; onBuilt(); return result; @@ -393,41 +354,38 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split 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.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; @@ -435,8 +393,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()); } @@ -466,19 +423,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - key_ = input.readBytes(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + key_ = input.readBytes(); + + 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) { @@ -491,14 +446,11 @@ public Builder mergeFrom( 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 @@ -506,44 +458,37 @@ 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(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -556,12 +501,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(); } @@ -570,28 +515,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; @@ -606,22 +550,18 @@ 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; 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 @@ -630,32 +570,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 { @@ -666,8 +604,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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`.
@@ -675,7 +611,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -684,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`.
@@ -700,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 { @@ -719,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 @@ -735,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 @@ -751,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() { @@ -768,8 +692,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; 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).
@@ -790,13 +712,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).
@@ -817,13 +736,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).
@@ -848,8 +765,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).
@@ -874,8 +789,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).
@@ -902,7 +815,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -914,7 +826,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -943,10 +856,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;
@@ -956,21 +871,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;
   }
@@ -999,104 +917,97 @@ 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]
@@ -1104,32 +1015,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();
@@ -1154,9 +1066,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
@@ -1175,8 +1087,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       result.tableId_ = tableId_;
@@ -1202,39 +1113,38 @@ public com.google.bigtable.admin.v2.CreateTableRequest 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.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;
@@ -1242,8 +1152,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_;
         onChanged();
@@ -1273,10 +1182,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            initialSplitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInitialSplitsFieldBuilder()
-                    : null;
+            initialSplitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInitialSplitsFieldBuilder() : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1308,45 +1216,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                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:
+              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) {
@@ -1356,28 +1261,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; @@ -1386,24 +1286,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 { @@ -1411,70 +1308,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1482,8 +1366,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`.
@@ -1491,13 +1373,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; @@ -1506,8 +1388,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`.
@@ -1515,14 +1395,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 { @@ -1530,8 +1411,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`.
@@ -1539,22 +1418,20 @@ 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) { + public Builder setTableId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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`.
@@ -1562,18 +1439,15 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); 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`.
@@ -1581,16 +1455,16 @@ 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) { + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; @@ -1598,35 +1472,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 tableBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1637,14 +1500,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) { @@ -1660,16 +1520,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(); onChanged(); @@ -1680,20 +1538,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 (table_ != null) { table_ = - com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -1705,14 +1560,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() { if (tableBuilder_ == null) { @@ -1726,85 +1578,66 @@ 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() { - + onChanged(); 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_ & 0x00000001) != 0)) { - initialSplits_ = - new java.util.ArrayList( - initialSplits_); + initialSplits_ = new java.util.ArrayList(initialSplits_); bitField0_ |= 0x00000001; - } + } } 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).
@@ -1824,8 +1657,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 {
@@ -1833,8 +1665,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).
@@ -1862,8 +1692,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).
@@ -1891,8 +1719,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).
@@ -1927,8 +1753,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).
@@ -1960,8 +1784,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).
@@ -1995,8 +1817,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).
@@ -2031,8 +1851,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).
@@ -2064,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).
@@ -2097,8 +1913,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).
@@ -2119,11 +1933,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);
@@ -2131,8 +1945,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).
@@ -2163,8 +1975,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).
@@ -2195,8 +2005,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).
@@ -2221,8 +2029,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).
@@ -2245,14 +2051,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).
@@ -2272,8 +2075,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 {
@@ -2281,8 +2084,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).
@@ -2303,12 +2104,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).
@@ -2330,13 +2129,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).
@@ -2356,22 +2152,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2380,9 +2170,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);
     }
 
@@ -2392,12 +2182,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();
   }
@@ -2406,27 +2196,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;
@@ -2441,4 +2231,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 c456476e3f..8ce672260f 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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).
@@ -143,10 +100,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).
@@ -168,8 +124,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).
@@ -191,8 +145,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).
@@ -212,11 +164,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 4a85712a9f..002bf5f355 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,86 +1,62 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -125,14 +99,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; 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 @@ -141,7 +112,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,7 +123,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -173,7 +144,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; @@ -183,16 +155,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; } @@ -207,142 +180,137 @@ 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(); @@ -354,9 +322,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 @@ -375,8 +343,7 @@ 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); + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); result.name_ = name_; result.ignoreWarnings_ = ignoreWarnings_; onBuilt(); @@ -387,39 +354,38 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest 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.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; @@ -427,8 +393,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_; onChanged(); @@ -462,25 +427,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: - { - ignoreWarnings_ = input.readBool(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: { + ignoreWarnings_ = input.readBool(); + + 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) { @@ -493,23 +455,19 @@ public Builder mergeFrom( 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; @@ -518,24 +476,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 { @@ -543,85 +498,69 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -629,43 +568,37 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); 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() { - + ignoreWarnings_ = false; 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); } @@ -675,12 +608,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(); } @@ -689,27 +622,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; @@ -724,4 +657,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 f62608712c..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 63% 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 332e0ce5a6..060c861ab0 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,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -90,33 +66,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 { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -161,15 +135,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; } @@ -188,136 +162,130 @@ 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].
    * 
* * 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(); @@ -327,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 @@ -348,8 +316,7 @@ 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); + com.google.bigtable.admin.v2.DeleteBackupRequest result = new com.google.bigtable.admin.v2.DeleteBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest 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.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; @@ -399,8 +365,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_; onChanged(); @@ -431,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,24 +419,20 @@ public Builder mergeFrom( 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; @@ -482,25 +441,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 { @@ -508,80 +464,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -591,12 +534,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(); } @@ -605,27 +548,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; @@ -640,4 +583,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 63% 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 35c1a6a376..f84771b515 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -187,135 +161,129 @@ 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(); @@ -325,9 +293,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 @@ -346,8 +314,7 @@ 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); + com.google.bigtable.admin.v2.DeleteClusterRequest result = new com.google.bigtable.admin.v2.DeleteClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest 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.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; @@ -397,8 +363,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_; onChanged(); @@ -429,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -454,23 +417,19 @@ public Builder mergeFrom( 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; @@ -479,24 +438,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 { @@ -504,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -584,12 +527,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(); } @@ -598,27 +541,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; @@ -633,4 +576,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 63% 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 b3b6da08f2..7f3db55417 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -187,135 +161,129 @@ 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(); @@ -325,9 +293,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 @@ -346,8 +314,7 @@ 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); + com.google.bigtable.admin.v2.DeleteInstanceRequest result = new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest 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.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; @@ -397,8 +363,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_; onChanged(); @@ -429,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -454,23 +417,19 @@ public Builder mergeFrom( 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; @@ -479,24 +438,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 { @@ -504,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -584,12 +527,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(); } @@ -598,27 +541,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; @@ -633,4 +576,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 3f05f058f5..490629e88b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,61 +15,54 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -95,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 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 { @@ -130,7 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -166,15 +140,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; } @@ -194,103 +168,96 @@ 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]
@@ -302,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();
@@ -337,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
@@ -358,8 +326,7 @@ 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);
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -369,39 +336,38 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest 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.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;
@@ -409,8 +375,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_;
         onChanged();
@@ -441,19 +406,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,24 +429,20 @@ public Builder mergeFrom(
 
     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; @@ -492,25 +451,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 { @@ -518,80 +474,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -601,12 +544,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(); } @@ -615,27 +558,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; @@ -650,4 +593,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 63% 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 84a58dbf6a..2d3059a091 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,61 +11,54 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,33 +67,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 { @@ -126,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -189,104 +163,97 @@ 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]
@@ -294,32 +261,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();
@@ -329,9 +297,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
@@ -350,8 +318,7 @@ 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);
+      com.google.bigtable.admin.v2.DeleteTableRequest result = new com.google.bigtable.admin.v2.DeleteTableRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -361,39 +328,38 @@ public com.google.bigtable.admin.v2.DeleteTableRequest 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.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;
@@ -401,8 +367,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_;
         onChanged();
@@ -433,19 +398,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,24 +421,20 @@ public Builder mergeFrom(
 
     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; @@ -484,25 +443,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 { @@ -510,80 +466,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -593,12 +536,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(); } @@ -607,27 +550,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; @@ -642,4 +585,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 4239f2d91d..fb6f6a401b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,58 +11,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -95,41 +73,33 @@ 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;
   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 @@ -138,33 +108,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 { @@ -174,15 +142,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 @@ -190,15 +155,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 @@ -211,14 +173,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 @@ -226,14 +185,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 @@ -245,7 +201,6 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,15 +212,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); } @@ -280,14 +238,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; @@ -297,22 +255,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: @@ -337,7 +297,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: @@ -347,104 +308,97 @@ 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]
@@ -452,32 +406,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();
@@ -489,9 +444,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
@@ -510,8 +465,7 @@ 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);
+      com.google.bigtable.admin.v2.DropRowRangeRequest result = new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
       result.name_ = name_;
       if (targetCase_ == 2) {
         result.target_ = target_;
@@ -528,39 +482,38 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest 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.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;
@@ -568,27 +521,23 @@ 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_;
         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();
@@ -616,31 +565,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                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();
+
+              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) {
@@ -650,12 +595,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() {
@@ -665,26 +610,23 @@ public Builder clearTarget() {
       return this;
     }
 
+
     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; @@ -693,25 +635,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 { @@ -719,103 +658,84 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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 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() { @@ -825,37 +745,31 @@ 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(); - } - targetCase_ = 2; + 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() { @@ -868,28 +782,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() { @@ -899,14 +807,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. */ @@ -917,14 +822,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() { @@ -935,9 +837,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); } @@ -947,12 +849,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(); } @@ -961,27 +863,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; @@ -996,4 +898,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 0c75eed434..4ad4ad9317 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 67% 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 d85b829aaa..1e0ca120fb 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,43 +29,39 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -92,8 +70,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.
@@ -104,8 +80,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.
@@ -123,8 +97,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -133,8 +105,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.
@@ -145,8 +115,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.
@@ -161,6 +129,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(
@@ -185,49 +154,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;
@@ -247,58 +216,39 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.valueOf(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.valueOf(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 @@ -306,34 +256,25 @@ 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() { @@ -343,17 +284,12 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; 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 @@ -362,32 +298,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 { @@ -396,7 +330,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -408,13 +341,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) { @@ -432,13 +364,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; @@ -448,20 +380,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; } @@ -486,104 +419,97 @@ 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
@@ -593,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();
@@ -636,9 +563,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
@@ -657,8 +584,7 @@ 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);
+      com.google.bigtable.admin.v2.EncryptionInfo result = new com.google.bigtable.admin.v2.EncryptionInfo(this);
       result.encryptionType_ = encryptionType_;
       if (encryptionStatusBuilder_ == null) {
         result.encryptionStatus_ = encryptionStatus_;
@@ -674,39 +600,38 @@ public com.google.bigtable.admin.v2.EncryptionInfo 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.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;
@@ -751,32 +676,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                kmsKeyVersion_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                encryptionType_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              kmsKeyVersion_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              encryptionType_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getEncryptionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -789,103 +711,73 @@ public Builder mergeFrom(
 
     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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.valueOf(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.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -893,56 +785,42 @@ 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 encryptionStatusBuilder_ != null || 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. */ 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) { @@ -958,17 +836,15 @@ 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(); onChanged(); @@ -979,21 +855,18 @@ 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 (encryptionStatus_ != null) { encryptionStatus_ = - com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); } else { encryptionStatus_ = value; } @@ -1005,15 +878,12 @@ 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() { if (encryptionStatusBuilder_ == null) { @@ -1027,62 +897,51 @@ 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() { - + onChanged(); 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_; @@ -1090,23 +949,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; @@ -1115,24 +970,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 { @@ -1140,77 +992,64 @@ 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) { + public Builder setKmsKeyVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyVersion_ = value; 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() { - + kmsKeyVersion_ = getDefaultInstance().getKmsKeyVersion(); 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) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyVersion_ = 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); } @@ -1220,12 +1059,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(); } @@ -1234,27 +1073,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; @@ -1269,4 +1108,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 0ef38b4997..a3b723245b 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,126 +1,80 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 5a3866c1bf..bb576d947d 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,88 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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`.
      * 
@@ -91,8 +69,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`.
      * 
@@ -101,80 +77,72 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List rules_; /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -186,8 +154,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -195,13 +161,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`.
      * 
@@ -213,8 +177,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -226,8 +188,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`.
      * 
@@ -235,12 +195,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; @@ -252,7 +212,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -266,7 +227,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; @@ -276,15 +238,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; } @@ -306,93 +268,87 @@ 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 @@ -402,41 +358,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(); @@ -451,9 +405,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 @@ -472,8 +426,7 @@ 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); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -492,41 +445,38 @@ public com.google.bigtable.admin.v2.GcRule.Intersection 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.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; @@ -534,8 +484,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()) { @@ -554,10 +503,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_); } @@ -589,26 +537,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) { @@ -618,28 +565,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`.
        * 
@@ -654,8 +594,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -670,8 +608,6 @@ public int getRulesCount() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -686,15 +622,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(); @@ -708,8 +643,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`.
        * 
@@ -728,8 +661,6 @@ public Builder setRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -750,15 +681,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(); @@ -772,15 +702,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()); @@ -791,8 +720,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`.
        * 
@@ -811,8 +738,6 @@ public Builder addRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -823,7 +748,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); @@ -831,8 +757,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -850,8 +774,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -869,44 +791,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 { @@ -914,8 +831,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -923,52 +838,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) { @@ -981,12 +890,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(); } @@ -995,28 +904,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; @@ -1031,26 +939,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`.
      * 
@@ -1059,8 +964,6 @@ public interface UnionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1069,80 +972,72 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List rules_; /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1154,8 +1049,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1163,13 +1056,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`.
      * 
@@ -1181,8 +1072,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1194,8 +1083,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`.
      * 
@@ -1203,12 +1090,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; @@ -1220,7 +1107,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1234,7 +1122,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; @@ -1244,15 +1133,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; } @@ -1273,94 +1162,88 @@ 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 @@ -1370,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(); @@ -1419,9 +1300,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 @@ -1440,8 +1321,7 @@ 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); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1460,41 +1340,38 @@ public com.google.bigtable.admin.v2.GcRule.Union 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.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; @@ -1521,10 +1398,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_); } @@ -1556,26 +1432,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) { @@ -1585,28 +1460,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`.
        * 
@@ -1621,8 +1489,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1637,8 +1503,6 @@ public int getRulesCount() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1653,15 +1517,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(); @@ -1675,8 +1538,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`.
        * 
@@ -1695,8 +1556,6 @@ public Builder setRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1717,15 +1576,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(); @@ -1739,15 +1597,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()); @@ -1758,8 +1615,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`.
        * 
@@ -1778,8 +1633,6 @@ public Builder addRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1790,7 +1643,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); @@ -1798,8 +1652,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1817,8 +1669,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1836,44 +1686,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 { @@ -1881,8 +1726,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1890,52 +1733,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) { @@ -1948,12 +1785,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(); } @@ -1962,28 +1799,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; @@ -1998,14 +1834,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int ruleCase_ = 0; 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), @@ -2013,7 +1848,6 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; - private RuleCase(int value) { this.value = value; } @@ -2029,40 +1863,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 @@ -2070,14 +1896,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 @@ -2090,8 +1913,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
@@ -2099,7 +1920,6 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2107,8 +1927,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
@@ -2116,19 +1934,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
@@ -2140,21 +1955,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 @@ -2162,26 +1974,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.
    * 
@@ -2191,21 +1998,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 @@ -2213,26 +2017,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.
    * 
@@ -2242,13 +2041,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; @@ -2260,9 +2058,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_); @@ -2283,24 +2083,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; @@ -2310,7 +2107,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); @@ -2320,16 +2117,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: @@ -2370,135 +2171,130 @@ 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(); @@ -2517,9 +2313,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 @@ -2572,39 +2368,38 @@ public com.google.bigtable.admin.v2.GcRule 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.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; @@ -2614,30 +2409,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(); @@ -2665,37 +2455,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) { @@ -2705,12 +2496,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() { @@ -2720,29 +2511,24 @@ public Builder clearRule() { return this; } + /** - * - * *
      * 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() { @@ -2752,14 +2538,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. */ @@ -2770,14 +2553,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() { @@ -2790,13 +2570,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
@@ -2804,7 +2579,6 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2812,8 +2586,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
@@ -2821,7 +2593,6 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override @@ -2839,8 +2610,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
@@ -2863,8 +2632,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
@@ -2873,7 +2640,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();
@@ -2884,8 +2652,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
@@ -2896,11 +2662,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;
         }
@@ -2916,8 +2681,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
@@ -2943,8 +2706,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
@@ -2957,8 +2718,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
@@ -2979,8 +2738,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
@@ -2990,42 +2747,32 @@ 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;
-      onChanged();
-      ;
+      onChanged();;
       return maxAgeBuilder_;
     }
 
     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 @@ -3033,14 +2780,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 @@ -3058,8 +2802,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3080,8 +2822,6 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3100,8 +2840,6 @@ public Builder setIntersection( return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3110,13 +2848,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; } @@ -3132,8 +2867,6 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3157,8 +2890,6 @@ public Builder clearIntersection() { return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3169,8 +2900,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3189,8 +2918,6 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3198,44 +2925,32 @@ 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()); rule_ = null; } ruleCase_ = 3; - onChanged(); - ; + onChanged();; return intersectionBuilder_; } 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 @@ -3243,14 +2958,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 @@ -3268,8 +2980,6 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3290,15 +3000,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(); @@ -3309,8 +3018,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.
      * 
@@ -3319,13 +3026,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; } @@ -3341,8 +3045,6 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3366,8 +3068,6 @@ public Builder clearUnion() { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3378,8 +3078,6 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3398,8 +3096,6 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3407,32 +3103,26 @@ 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()); rule_ = null; } ruleCase_ = 4; - onChanged(); - ; + 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); } @@ -3442,12 +3132,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(); } @@ -3456,27 +3146,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; @@ -3491,4 +3181,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 2377b77320..ce50768ec7 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 15ae710e62..e0c5bfbf79 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,62 +11,54 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -92,33 +67,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 { @@ -127,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -163,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -191,104 +164,96 @@ 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]
@@ -296,32 +261,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();
@@ -331,14 +297,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();
     }
 
@@ -353,8 +318,7 @@ 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);
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -364,39 +328,38 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest 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.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;
@@ -404,9 +367,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_;
         onChanged();
@@ -437,19 +398,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,24 +421,20 @@ public Builder mergeFrom(
 
     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; @@ -488,25 +443,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 { @@ -514,80 +466,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -597,13 +536,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(); } @@ -612,27 +550,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; @@ -647,4 +585,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..d5d52abf01 --- /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 df2c9b5536..0648868267 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,58 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object consistencyToken_;
   /**
-   *
-   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ @java.lang.Override @@ -88,29 +65,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 { @@ -119,7 +96,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -131,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consistencyToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, consistencyToken_); } @@ -155,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -183,104 +160,96 @@ 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]
@@ -288,32 +257,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();
@@ -323,14 +293,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();
     }
 
@@ -345,8 +314,7 @@ 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);
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
       result.consistencyToken_ = consistencyToken_;
       onBuilt();
       return result;
@@ -356,39 +324,38 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.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;
@@ -396,9 +363,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_;
         onChanged();
@@ -429,19 +394,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              consistencyToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -454,20 +417,18 @@ public Builder mergeFrom(
 
     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; @@ -476,21 +437,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 { @@ -498,68 +458,61 @@ 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) { + public Builder setConsistencyToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + consistencyToken_ = value; onChanged(); return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { - + consistencyToken_ = getDefaultInstance().getConsistencyToken(); onChanged(); 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) { + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consistencyToken_ = 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); } @@ -569,13 +522,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(); } @@ -584,27 +536,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; @@ -619,4 +571,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 82a6c7fcb5..05f77bdfe9 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -187,135 +161,129 @@ 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(); @@ -325,9 +293,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 @@ -346,8 +314,7 @@ 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); + com.google.bigtable.admin.v2.GetAppProfileRequest result = new com.google.bigtable.admin.v2.GetAppProfileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest 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.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; @@ -397,8 +363,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_; onChanged(); @@ -429,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -454,23 +417,19 @@ public Builder mergeFrom( 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; @@ -479,24 +438,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 { @@ -504,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -584,12 +527,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(); } @@ -598,27 +541,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; @@ -633,4 +576,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 63% 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 54165afb87..4fbadeba19 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,87 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -90,33 +66,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 { @@ -125,7 +99,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,7 +110,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -161,15 +135,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; } @@ -188,136 +162,130 @@ 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].
    * 
* * 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(); @@ -327,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 @@ -348,8 +316,7 @@ 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); + com.google.bigtable.admin.v2.GetBackupRequest result = new com.google.bigtable.admin.v2.GetBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -359,39 +326,38 @@ public com.google.bigtable.admin.v2.GetBackupRequest 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.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; @@ -430,19 +396,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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,24 +419,20 @@ public Builder mergeFrom( 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; @@ -481,25 +441,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 { @@ -507,80 +464,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -590,12 +534,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(); } @@ -604,27 +548,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; @@ -639,4 +583,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 6b80a8e4f9..94f6ab494e 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -186,136 +160,130 @@ 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(); @@ -325,9 +293,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 @@ -346,8 +314,7 @@ 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); + com.google.bigtable.admin.v2.GetClusterRequest result = new com.google.bigtable.admin.v2.GetClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.bigtable.admin.v2.GetClusterRequest 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.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; @@ -428,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -453,23 +417,19 @@ public Builder mergeFrom( 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; @@ -478,24 +438,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 { @@ -503,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -583,12 +527,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(); } @@ -597,27 +541,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; @@ -632,4 +576,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 63% 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 61a4318c22..bb15b22fc9 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,86 +1,62 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -89,32 +65,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 { @@ -123,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +133,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -186,136 +160,130 @@ 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(); @@ -325,9 +293,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 @@ -346,8 +314,7 @@ 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); + com.google.bigtable.admin.v2.GetInstanceRequest result = new com.google.bigtable.admin.v2.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -357,39 +324,38 @@ public com.google.bigtable.admin.v2.GetInstanceRequest 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.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; @@ -397,8 +363,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_; onChanged(); @@ -429,19 +394,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -454,23 +417,19 @@ public Builder mergeFrom( 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; @@ -479,24 +438,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 { @@ -504,77 +460,64 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -584,12 +527,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(); } @@ -598,27 +541,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; @@ -633,4 +576,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 831faeac60..c70a17a789 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,61 +15,54 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -95,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 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 { @@ -130,7 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -142,7 +115,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -166,15 +140,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; } @@ -193,104 +167,97 @@ 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]
@@ -302,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();
@@ -337,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
@@ -358,8 +326,7 @@ 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);
+      com.google.bigtable.admin.v2.GetSnapshotRequest result = new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -369,39 +336,38 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest 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.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;
@@ -409,8 +375,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_;
         onChanged();
@@ -441,19 +406,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,24 +429,20 @@ public Builder mergeFrom(
 
     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; @@ -492,25 +451,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 { @@ -518,80 +474,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -601,12 +544,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(); } @@ -615,27 +558,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; @@ -650,4 +593,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 66% 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 3c2bdabb55..7ec530eb6f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +27,39 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -92,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 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 { @@ -129,43 +103,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(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; @@ -177,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -197,7 +162,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; @@ -207,15 +173,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; @@ -237,104 +203,97 @@ 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]
@@ -342,32 +301,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();
@@ -379,9 +339,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
@@ -400,8 +360,7 @@ 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);
+      com.google.bigtable.admin.v2.GetTableRequest result = new com.google.bigtable.admin.v2.GetTableRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -412,39 +371,38 @@ public com.google.bigtable.admin.v2.GetTableRequest 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.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;
@@ -486,25 +444,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+
+              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) {
@@ -517,24 +472,20 @@ public Builder mergeFrom(
 
     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; @@ -543,25 +494,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 { @@ -569,73 +517,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -643,69 +578,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(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. */ @@ -713,32 +634,29 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -748,12 +666,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(); } @@ -762,27 +680,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; @@ -797,4 +715,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 7e88e78807..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 c8c8349c61..988fa6b822 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,42 +32,38 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -94,30 +72,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 { @@ -128,15 +106,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int TABLE_NAME_FIELD_NUMBER = 2; 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 @@ -145,30 +120,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 { @@ -179,15 +154,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 @@ -195,15 +166,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 @@ -211,14 +178,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() { @@ -228,15 +192,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 @@ -244,15 +204,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 @@ -260,14 +216,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() { @@ -277,14 +230,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int START_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object startKey_; /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ @java.lang.Override @@ -293,29 +243,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 { @@ -326,14 +276,11 @@ public com.google.protobuf.ByteString getStartKeyBytes() { public static final int END_KEY_FIELD_NUMBER = 6; private volatile java.lang.Object endKey_; /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ @java.lang.Override @@ -342,29 +289,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 { @@ -375,8 +322,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; 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
@@ -385,7 +330,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 @@ -394,7 +338,6 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -406,7 +349,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -444,10 +388,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_); @@ -456,7 +402,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; @@ -466,27 +413,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; } @@ -515,110 +469,104 @@ 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
@@ -629,32 +577,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();
@@ -684,9 +633,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
@@ -705,8 +654,7 @@ 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);
+      com.google.bigtable.admin.v2.HotTablet result = new com.google.bigtable.admin.v2.HotTablet(this);
       result.name_ = name_;
       result.tableName_ = tableName_;
       if (startTimeBuilder_ == null) {
@@ -730,39 +678,38 @@ public com.google.bigtable.admin.v2.HotTablet 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.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;
@@ -822,55 +769,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                tableName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                startKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 42
-            case 50:
-              {
-                endKey_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 50
-            case 61:
-              {
-                nodeCpuUsagePercent_ = input.readFloat();
-
-                break;
-              } // case 61
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              tableName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              startKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 42
+            case 50: {
+              endKey_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 50
+            case 61: {
+              nodeCpuUsagePercent_ = input.readFloat();
+
+              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) {
@@ -883,21 +826,19 @@ public Builder mergeFrom(
 
     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; @@ -906,22 +847,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 { @@ -929,64 +869,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -994,21 +927,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; @@ -1017,22 +948,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 { @@ -1040,64 +970,57 @@ 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } - * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1105,35 +1028,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1144,14 +1056,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) { @@ -1167,16 +1076,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(); onChanged(); @@ -1187,20 +1094,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1212,14 +1116,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() { if (startTimeBuilder_ == null) { @@ -1233,59 +1134,48 @@ 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() { - + onChanged(); 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_; @@ -1293,35 +1183,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1332,14 +1211,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) { @@ -1355,16 +1231,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(); onChanged(); @@ -1375,20 +1249,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1400,14 +1271,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() { if (endTimeBuilder_ == null) { @@ -1421,59 +1289,48 @@ 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() { - + onChanged(); 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_; @@ -1481,20 +1338,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; @@ -1503,21 +1358,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 { @@ -1525,61 +1379,54 @@ 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) { + public Builder setStartKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startKey_ = value; onChanged(); return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return This builder for chaining. */ public Builder clearStartKey() { - + startKey_ = getDefaultInstance().getStartKey(); onChanged(); 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) { + public Builder setStartKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startKey_ = value; onChanged(); return this; @@ -1587,20 +1434,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; @@ -1609,21 +1454,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 { @@ -1631,70 +1475,61 @@ 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) { + public Builder setEndKey( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endKey_ = value; onChanged(); return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return This builder for chaining. */ public Builder clearEndKey() { - + endKey_ = getDefaultInstance().getEndKey(); onChanged(); 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) { + public Builder setEndKeyBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endKey_ = value; onChanged(); 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
@@ -1703,7 +1538,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 @@ -1711,8 +1545,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
@@ -1721,19 +1553,16 @@ 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. */ public Builder setNodeCpuUsagePercent(float value) { - + nodeCpuUsagePercent_ = value; onChanged(); 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
@@ -1742,18 +1571,17 @@ 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() { - + nodeCpuUsagePercent_ = 0F; 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); } @@ -1763,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(); } @@ -1777,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; @@ -1812,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 1f10c38afe..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 67b76dd0c7..5d4b44d843 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,54 +31,51 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -105,8 +84,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.
@@ -116,8 +93,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.
@@ -130,8 +105,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -140,8 +113,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.
@@ -151,8 +122,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.
@@ -162,6 +131,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(
@@ -186,49 +156,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;
@@ -246,18 +216,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
@@ -268,8 +235,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.
@@ -279,8 +244,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.
@@ -293,8 +256,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
@@ -305,8 +266,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.
@@ -316,8 +275,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.
@@ -327,6 +284,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(
@@ -351,49 +309,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;
@@ -414,15 +372,12 @@ private Type(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -431,30 +386,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 { @@ -465,8 +420,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -474,7 +427,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -483,15 +435,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
@@ -499,15 +450,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 { @@ -518,95 +470,78 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** - * - * *
    * (`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() { + @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.valueOf(state_); + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.valueOf(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.valueOf(type_); + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.valueOf(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, + ""); } - - 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_; } @@ -615,8 +550,6 @@ 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,22 +565,22 @@ 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
@@ -664,12 +597,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
+
   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
@@ -686,16 +618,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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
@@ -712,11 +644,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -726,17 +659,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 @@ -744,17 +673,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 @@ -762,16 +687,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() { @@ -781,14 +703,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; 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 @@ -796,14 +715,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 @@ -812,7 +728,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -824,7 +739,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -837,8 +753,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()); } @@ -861,26 +781,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; @@ -890,25 +814,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; @@ -939,110 +868,105 @@ 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.
@@ -1052,52 +976,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 +1049,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,8 +1070,7 @@ 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);
+      com.google.bigtable.admin.v2.Instance result = new com.google.bigtable.admin.v2.Instance(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.name_ = name_;
@@ -1171,39 +1097,38 @@ public com.google.bigtable.admin.v2.Instance 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.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;
@@ -1226,7 +1151,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());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1259,60 +1185,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 24
-            case 32:
-              {
-                type_ = input.readEnum();
-
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 58
-            case 64:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 64
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 24
+            case 32: {
+              type_ = input.readEnum();
+
+              break;
+            } // case 32
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 58
+            case 64: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -1322,26 +1240,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; @@ -1350,22 +1265,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 { @@ -1373,64 +1287,57 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1438,8 +1345,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
@@ -1447,13 +1352,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; @@ -1462,8 +1367,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
@@ -1471,14 +1374,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 { @@ -1486,8 +1390,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
@@ -1495,22 +1397,20 @@ 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) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1518,18 +1418,15 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1537,16 +1434,16 @@ 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) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1554,69 +1451,55 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.valueOf(state_); + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.valueOf(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. */ @@ -1624,25 +1507,22 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -1650,65 +1530,51 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.valueOf(type_); + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.valueOf(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. */ @@ -1716,44 +1582,42 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -1765,8 +1629,6 @@ 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
@@ -1782,22 +1644,22 @@ 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
@@ -1814,12 +1676,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     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
@@ -1836,17 +1697,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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
@@ -1863,11 +1723,12 @@ public java.lang.String getLabelsOrDefault(
      * 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();
       }
@@ -1875,12 +1736,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      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
@@ -1896,21 +1756,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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1926,20 +1788,19 @@ 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");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1955,71 +1816,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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -2035,19 +1880,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(); onChanged(); @@ -2058,23 +1900,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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2086,17 +1924,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() { if (createTimeBuilder_ == null) { @@ -2110,85 +1944,66 @@ 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() { - + onChanged(); 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 @@ -2196,14 +2011,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -2211,14 +2023,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. */ @@ -2229,14 +2038,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() { @@ -2245,9 +2051,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); } @@ -2257,12 +2063,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(); } @@ -2271,27 +2077,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; @@ -2306,4 +2112,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 103b7d8457..fb2ca1d2af 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -151,8 +111,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
@@ -168,13 +126,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
@@ -190,10 +150,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
@@ -211,13 +170,11 @@ public interface InstanceOrBuilder
    */
 
   /* 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
@@ -233,73 +190,58 @@ 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..3546cd4581 --- /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\"" + + "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" + + "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" + + "gtable.admin.v2.Instance.State\0225\n\004type\030\004" + + " \001(\0162\'.google.bigtable.admin.v2.Instance" + + ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." + + "admin.v2.Instance.LabelsEntry\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" + + "LabelsEntry\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\005REA" + + "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" + + "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" + + "tance\022\'projects/{project}/instances/{ins" + + "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" + + "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" + + "(\n storage_utilization_gib_per_node\030\003 \001(" + + "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" + + "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" + + "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" + + "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" + + "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" + + "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" + + "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" + + "ogle.bigtable.admin.v2.Cluster.ClusterCo" + + "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" + + "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" + + "\022R\n\021encryption_config\030\006 \001(\01322.google.big" + + "table.admin.v2.Cluster.EncryptionConfigB" + + "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" + + "oscaling_limits\030\001 \001(\0132+.google.bigtable." + + "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" + + "caling_targets\030\002 \001(\0132,.google.bigtable.a" + + "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" + + "erConfig\022^\n\032cluster_autoscaling_config\030\001" + + " \001(\0132:.google.bigtable.admin.v2.Cluster." + + "ClusterAutoscalingConfig\032P\n\020EncryptionCo" + + "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" + + "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" + + "TATE_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$bigt" + + "ableadmin.googleapis.com/Cluster\022:projec" + + "ts/{project}/instances/{instance}/cluste" + + "rs/{cluster}B\010\n\006config\"\210\004\n\nAppProfile\022\014\n" + + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" + + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" + + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" + + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" + + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" + + "e.admin.v2.AppProfile.SingleClusterRouti" + + "ngH\000\0320\n\031MultiClusterRoutingUseAny\022\023\n\013clu" + + "ster_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022" + + "\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_transactiona" + + "l_writes\030\002 \001(\010:o\352Al\n\'bigtableadmin.googl" + + "eapis.com/AppProfile\022Aprojects/{project}" + + "/instances/{instance}/appProfiles/{app_p" + + "rofile}B\020\n\016routing_policy\"\210\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\0223\n\nst" + + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\004 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\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\003\340A\003:\177\352A|\n&bigtableadmin.googleap" + + "is.com/HotTablet\022Rprojects/{project}/ins" + + "tances/{instance}/clusters/{cluster}/hot" + + "Tablets/{hot_tablet}B\320\002\n\034com.google.bigt" + + "able.admin.v2B\rInstanceProtoP\001Z=google.g" + + "olang.org/genproto/googleapis/bigtable/a" + + "dmin/v2;admin\252\002\036Google.Cloud.Bigtable.Ad" + + "min.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352" + + "\002\"Google::Cloud::Bigtable::Admin::V2\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{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 69% 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 492fa44099..271272f22d 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,35 +26,32 @@ private ListAppProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
@@ -81,10 +60,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 @@ -93,15 +69,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
@@ -110,18 +85,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 { @@ -132,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** - * - * *
    * Maximum number of results per page.
    * A page_size of zero lets the server choose the number of items to return.
@@ -145,7 +117,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -156,14 +127,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -172,29 +140,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 { @@ -203,7 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -241,7 +209,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; @@ -251,17 +220,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; } @@ -285,135 +256,129 @@ 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(); @@ -427,9 +392,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 @@ -448,8 +413,7 @@ 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); + com.google.bigtable.admin.v2.ListAppProfilesRequest result = new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -461,39 +425,38 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest 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.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; @@ -501,8 +464,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_; onChanged(); @@ -540,31 +502,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + + 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) { @@ -577,8 +535,6 @@ public Builder mergeFrom( 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
@@ -587,16 +543,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; @@ -605,8 +559,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
@@ -615,17 +567,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 { @@ -633,8 +584,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
@@ -643,25 +592,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -670,21 +615,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -693,28 +633,24 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -726,7 +662,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -734,8 +669,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -747,19 +680,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -771,11 +701,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -783,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 = 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; @@ -805,21 +732,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 { @@ -827,68 +753,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -898,12 +817,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(); } @@ -912,27 +831,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; @@ -947,4 +866,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 20f3acd123..b484d009c4 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * A page_size of zero lets the server choose the number of items to return.
@@ -74,33 +47,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 42ce1fdf18..7d0a706ba5 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -45,35 +27,32 @@ private ListAppProfilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List appProfiles_; /** - * - * *
    * The list of requested app profiles.
    * 
@@ -85,8 +64,6 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -125,8 +98,6 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -134,15 +105,14 @@ 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; 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
@@ -150,7 +120,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -175,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -194,8 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList failedLocations_; /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -204,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.
@@ -221,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.
@@ -238,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. */ @@ -246,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.
@@ -256,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; @@ -277,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)); } @@ -297,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_); @@ -318,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; } @@ -356,135 +318,129 @@ 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(); @@ -503,9 +459,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_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 @@ -524,8 +480,7 @@ 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); int from_bitField0_ = bitField0_; if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -550,39 +505,38 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse 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.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; @@ -590,8 +544,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()) { @@ -610,10 +563,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_); } @@ -659,39 +611,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(); + 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(); - 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: + 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) { @@ -701,29 +650,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.
      * 
@@ -738,8 +679,6 @@ public java.util.List getAppProfilesLis } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -754,8 +693,6 @@ public int getAppProfilesCount() { } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -770,15 +707,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(); @@ -792,8 +728,6 @@ public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -812,8 +746,6 @@ public Builder setAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -834,15 +766,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(); @@ -856,15 +787,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()); @@ -875,8 +805,6 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder bu return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -895,8 +823,6 @@ public Builder addAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -907,7 +833,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); @@ -915,8 +842,6 @@ public Builder addAllAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -934,8 +859,6 @@ public Builder clearAppProfiles() { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -953,44 +876,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 { @@ -998,8 +916,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -1007,48 +923,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_; @@ -1056,8 +966,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
@@ -1065,13 +973,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; @@ -1080,8 +988,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
@@ -1089,14 +995,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 { @@ -1104,8 +1011,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
@@ -1113,22 +1018,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1136,18 +1039,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1155,33 +1055,29 @@ 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList failedLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1190,15 +1086,13 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1207,15 +1101,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.
@@ -1224,7 +1115,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. */ @@ -1232,8 +1122,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.
@@ -1242,16 +1130,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.
@@ -1260,23 +1146,21 @@ 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) { + public Builder setFailedLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1285,22 +1169,20 @@ 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) { + public Builder addFailedLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1309,19 +1191,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1330,7 +1211,6 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 3; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1340,8 +1220,6 @@ public Builder clearFailedLocations() { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1350,23 +1228,23 @@ 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) { + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(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); } @@ -1376,12 +1254,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(); } @@ -1390,27 +1268,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; @@ -1425,4 +1303,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 b4a022e5af..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 f36e324d1c..9e464c3655 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
  * 
* * 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_ = ""; @@ -46,35 +28,32 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -82,10 +61,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 @@ -94,15 +70,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}`.
@@ -110,18 +85,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 { @@ -132,8 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 2; 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,
@@ -166,7 +138,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -175,15 +146,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -216,15 +186,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 { @@ -235,8 +206,6 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int ORDER_BY_FIELD_NUMBER = 3; 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -258,7 +227,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 3; - * * @return The orderBy. */ @java.lang.Override @@ -267,15 +235,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -297,15 +264,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 { @@ -316,15 +284,12 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; 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 @@ -335,8 +300,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; 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] from a
@@ -345,7 +308,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -354,15 +316,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] from a
@@ -371,15 +332,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 { @@ -388,7 +350,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -400,7 +361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -435,7 +397,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_); @@ -448,19 +411,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; } @@ -487,136 +454,130 @@ 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].
    * 
* * 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(); @@ -634,9 +595,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 @@ -655,8 +616,7 @@ 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); + com.google.bigtable.admin.v2.ListBackupsRequest result = new com.google.bigtable.admin.v2.ListBackupsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -670,39 +630,38 @@ public com.google.bigtable.admin.v2.ListBackupsRequest 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.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; @@ -710,8 +669,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_; onChanged(); @@ -757,43 +715,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); + case 10: { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: - { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -806,8 +758,6 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -815,16 +765,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; @@ -833,8 +781,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -842,17 +788,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 { @@ -860,8 +805,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}`.
@@ -869,25 +812,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -895,21 +834,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -917,19 +851,17 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -937,8 +869,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,
@@ -971,13 +901,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; @@ -986,8 +916,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,
@@ -1020,14 +948,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 { @@ -1035,8 +964,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,
@@ -1069,22 +996,20 @@ 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) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1117,18 +1042,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1161,16 +1083,16 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1178,8 +1100,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1201,13 +1121,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; @@ -1216,8 +1136,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1239,14 +1157,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 { @@ -1254,8 +1173,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1277,22 +1194,20 @@ 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1314,18 +1229,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 3; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1347,32 +1259,29 @@ 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); 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 @@ -1380,38 +1289,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1419,8 +1322,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] from a
@@ -1429,13 +1330,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; @@ -1444,8 +1345,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] from a
@@ -1454,14 +1353,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 { @@ -1469,8 +1369,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] from a
@@ -1479,22 +1377,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1503,18 +1399,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1523,23 +1416,23 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -1549,12 +1442,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(); } @@ -1563,27 +1456,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; @@ -1598,4 +1491,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 c581ddaefb..56ba0716a5 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,
@@ -93,13 +66,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,
@@ -132,14 +102,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -161,13 +129,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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -189,28 +154,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] from a
@@ -219,13 +179,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] from a
@@ -234,8 +191,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 0e026a369c..a4eab70495 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
  * 
* * 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_ = ""; @@ -44,35 +26,32 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List backups_; /** - * - * *
    * The list of matching backups.
    * 
@@ -84,8 +63,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -93,13 +70,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.
    * 
@@ -111,8 +86,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of matching backups.
    * 
@@ -124,8 +97,6 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of matching backups.
    * 
@@ -133,15 +104,14 @@ 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; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -149,7 +119,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +127,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 to fetch more
@@ -174,15 +142,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 +160,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +171,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -220,7 +189,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 +203,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,136 +236,130 @@ 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].
    * 
* * 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(); @@ -411,9 +376,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 @@ -432,8 +397,7 @@ 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); int from_bitField0_ = bitField0_; if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -453,39 +417,38 @@ public com.google.bigtable.admin.v2.ListBackupsResponse 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.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; @@ -493,8 +456,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()) { @@ -513,10 +475,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_); } @@ -552,32 +513,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -587,28 +546,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.
      * 
@@ -623,8 +575,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -639,8 +589,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -655,15 +603,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(); @@ -677,8 +624,6 @@ public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -697,8 +642,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -719,15 +662,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(); @@ -741,15 +683,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()); @@ -760,8 +701,6 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderFor return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -780,8 +719,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -792,7 +729,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); @@ -800,8 +738,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -819,8 +755,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -838,44 +772,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 { @@ -883,8 +812,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde } } /** - * - * *
      * The list of matching backups.
      * 
@@ -892,47 +819,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_; @@ -940,8 +862,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 to fetch more
@@ -949,13 +869,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; @@ -964,8 +884,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -973,14 +891,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 { @@ -988,8 +907,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -997,22 +914,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -1020,18 +935,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -1039,23 +951,23 @@ 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1065,12 +977,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(); } @@ -1079,27 +991,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; @@ -1114,4 +1026,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 99a982ec0d..12037aeced 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 to fetch more
@@ -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 to fetch more
@@ -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 f131727426..d0fec1c2e1 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,35 +26,32 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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}`.
@@ -80,10 +59,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 @@ -92,15 +68,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -108,18 +83,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 { @@ -130,14 +104,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -146,29 +117,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 { @@ -177,7 +148,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -219,16 +190,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; } @@ -249,136 +221,130 @@ 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(); @@ -390,9 +356,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 @@ -411,8 +377,7 @@ 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); + com.google.bigtable.admin.v2.ListClustersRequest result = new com.google.bigtable.admin.v2.ListClustersRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; onBuilt(); @@ -423,39 +388,38 @@ public com.google.bigtable.admin.v2.ListClustersRequest 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.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; @@ -463,8 +427,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_; onChanged(); @@ -499,25 +462,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -530,8 +490,6 @@ public Builder mergeFrom( 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}`.
@@ -539,16 +497,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; @@ -557,8 +513,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}`.
@@ -566,17 +520,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 { @@ -584,8 +537,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}`.
@@ -593,25 +544,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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}`.
@@ -619,21 +566,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); 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}`.
@@ -641,19 +583,17 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -661,20 +601,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; @@ -683,21 +621,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 { @@ -705,68 +642,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -776,12 +706,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(); } @@ -790,27 +720,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; @@ -825,4 +755,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 897c16d1c5..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 4bb6580ce2..0cfc08e1bb 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -45,35 +27,32 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List clusters_; /** - * - * *
    * The list of requested clusters.
    * 
@@ -85,8 +64,6 @@ public java.util.List getClustersList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -125,8 +98,6 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -134,15 +105,14 @@ 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; private com.google.protobuf.LazyStringList failedLocations_; /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -152,15 +122,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 +138,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 +153,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 +160,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,25 +169,22 @@ 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; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -234,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 { @@ -265,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -277,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)); } @@ -297,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; @@ -318,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; } @@ -356,135 +318,129 @@ 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(); @@ -503,9 +459,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_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 @@ -524,8 +480,7 @@ 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); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -550,39 +505,38 @@ public com.google.bigtable.admin.v2.ListClustersResponse 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.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; @@ -590,8 +544,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()) { @@ -610,10 +563,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_); } @@ -659,39 +611,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(); + 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(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -701,28 +650,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.
      * 
@@ -737,8 +679,6 @@ public java.util.List getClustersList() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -753,8 +693,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -769,15 +707,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(); @@ -791,8 +728,6 @@ public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -811,8 +746,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -833,15 +766,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(); @@ -855,15 +787,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()); @@ -874,8 +805,6 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderF return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -894,8 +823,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -906,7 +833,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); @@ -914,8 +842,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -933,8 +859,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -952,44 +876,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 { @@ -997,8 +916,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -1006,64 +923,55 @@ 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_; } - private com.google.protobuf.LazyStringList failedLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1073,15 +981,13 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1091,15 +997,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.
@@ -1109,7 +1012,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. */ @@ -1117,8 +1019,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.
@@ -1128,16 +1028,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.
@@ -1147,23 +1045,21 @@ 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) { + public Builder setFailedLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1173,22 +1069,20 @@ 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) { + public Builder addFailedLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1198,19 +1092,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1220,7 +1113,6 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1230,8 +1122,6 @@ public Builder clearFailedLocations() { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1241,15 +1131,15 @@ 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) { + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); @@ -1258,20 +1148,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; @@ -1280,21 +1168,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 { @@ -1302,68 +1189,61 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1373,12 +1253,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(); } @@ -1387,27 +1267,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; @@ -1422,4 +1302,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 9ca59de913..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 75% 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 103fa0b8c7..555a945575 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +26,39 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -91,33 +67,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 { @@ -128,8 +102,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
@@ -140,7 +112,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -148,8 +119,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
@@ -160,7 +129,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -168,8 +136,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
@@ -189,14 +155,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 @@ -204,14 +167,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 @@ -219,8 +179,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -235,8 +193,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** - * - * *
    * Maximum number of results per page.
    * A page_size that is empty or zero lets the server choose the number of
@@ -248,7 +204,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -259,14 +214,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; 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 @@ -275,29 +227,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 { @@ -306,7 +258,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -318,7 +269,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -347,13 +299,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_); @@ -366,25 +321,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; } @@ -416,135 +375,129 @@ 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(); @@ -570,9 +523,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 @@ -591,8 +544,7 @@ 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); + com.google.bigtable.admin.v2.ListHotTabletsRequest result = new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); result.parent_ = parent_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -614,39 +566,38 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest 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.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; @@ -654,8 +605,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_; onChanged(); @@ -699,43 +649,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -748,24 +696,20 @@ public Builder mergeFrom( 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; @@ -774,25 +718,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 { @@ -800,73 +741,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -874,13 +802,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
@@ -891,15 +814,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 startTimeBuilder_ != null || 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
@@ -910,7 +830,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -921,8 +840,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
@@ -948,8 +865,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
@@ -961,7 +876,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();
         onChanged();
@@ -972,8 +888,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
@@ -989,7 +903,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -1001,8 +915,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
@@ -1026,8 +938,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
@@ -1040,13 +950,11 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+      
       onChanged();
       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
@@ -1062,12 +970,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
@@ -1080,17 +987,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_;
@@ -1098,33 +1002,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1135,8 +1030,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1157,15 +1050,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(); onChanged(); @@ -1176,8 +1068,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1188,7 +1078,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1200,8 +1090,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1220,8 +1108,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1229,13 +1115,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1246,12 +1130,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.
      * 
@@ -1259,26 +1142,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.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1290,7 +1168,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1298,8 +1175,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1311,19 +1186,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results per page.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1335,11 +1207,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1347,20 +1218,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; @@ -1369,21 +1238,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 { @@ -1391,68 +1259,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -1462,12 +1323,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(); } @@ -1476,27 +1337,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; @@ -1511,4 +1372,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 faa5babf96..5e46002d0f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * A page_size that is empty or zero lets the server choose the number of
@@ -155,33 +112,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 90ecf3ef7d..337b9ec740 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,35 +26,32 @@ private ListHotTabletsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
@@ -88,8 +67,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
@@ -101,13 +78,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
@@ -123,8 +98,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
@@ -140,8 +113,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
@@ -153,15 +124,14 @@ 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;
   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
@@ -169,7 +139,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -178,15 +147,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
@@ -194,15 +162,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 { @@ -211,7 +180,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +191,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -240,7 +209,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_); @@ -253,16 +223,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; } @@ -286,135 +257,129 @@ 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(); @@ -431,9 +396,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 @@ -452,8 +417,7 @@ 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); int from_bitField0_ = bitField0_; if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -473,39 +437,38 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse 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.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; @@ -513,8 +476,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()) { @@ -533,10 +495,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_); } @@ -572,32 +533,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(); + 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(); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -607,28 +566,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
@@ -647,8 +599,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
@@ -667,8 +617,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
@@ -687,8 +635,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
@@ -699,7 +645,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();
@@ -713,8 +660,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
@@ -737,8 +682,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
@@ -763,8 +706,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
@@ -775,7 +716,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();
@@ -789,8 +731,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
@@ -801,7 +741,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());
@@ -812,8 +753,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
@@ -836,8 +775,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
@@ -852,7 +789,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);
@@ -860,8 +798,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
@@ -883,8 +819,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
@@ -906,8 +840,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
@@ -918,12 +850,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
@@ -934,16 +865,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
@@ -954,8 +883,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 {
@@ -963,8 +892,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
@@ -976,12 +903,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
@@ -992,13 +917,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
@@ -1009,23 +933,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_;
@@ -1033,8 +954,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
@@ -1042,13 +961,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; @@ -1057,8 +976,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
@@ -1066,14 +983,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 { @@ -1081,8 +999,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
@@ -1090,22 +1006,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1113,18 +1027,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1132,23 +1043,23 @@ 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1158,12 +1069,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(); } @@ -1172,27 +1083,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; @@ -1207,4 +1118,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 53027e622a..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 65% 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 a64bd54432..20252f84be 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,44 +26,38 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -90,32 +66,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -126,14 +100,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -142,29 +113,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 { @@ -173,7 +144,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -215,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.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; } @@ -246,135 +218,129 @@ 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(); @@ -386,9 +352,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 @@ -407,8 +373,7 @@ 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); + com.google.bigtable.admin.v2.ListInstancesRequest result = new com.google.bigtable.admin.v2.ListInstancesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; onBuilt(); @@ -419,39 +384,38 @@ public com.google.bigtable.admin.v2.ListInstancesRequest 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.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; @@ -459,8 +423,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_; onChanged(); @@ -495,25 +458,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -526,23 +486,19 @@ public Builder mergeFrom( 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; @@ -551,24 +507,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 { @@ -576,70 +529,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -647,20 +587,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; @@ -669,21 +607,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 { @@ -691,68 +628,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -762,12 +692,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(); } @@ -776,27 +706,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; @@ -811,4 +741,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 c6646d25d2..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 76% 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 d02e624e85..4d0935619b 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -45,35 +27,32 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; private java.util.List instances_; /** - * - * *
    * The list of requested instances.
    * 
@@ -85,8 +64,6 @@ public java.util.List getInstancesList() return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -125,8 +98,6 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -134,15 +105,14 @@ 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; private com.google.protobuf.LazyStringList failedLocations_; /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -153,15 +123,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 +140,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 +156,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 +163,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,25 +173,22 @@ 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; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -238,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 { @@ -269,7 +228,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -281,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)); } @@ -301,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; @@ -322,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; } @@ -360,135 +322,129 @@ 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(); @@ -507,9 +463,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_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 @@ -528,8 +484,7 @@ 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); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -554,39 +509,38 @@ public com.google.bigtable.admin.v2.ListInstancesResponse 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.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; @@ -594,8 +548,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()) { @@ -614,10 +567,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_); } @@ -663,39 +615,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(); + 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(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -705,28 +654,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.
      * 
@@ -741,8 +683,6 @@ public java.util.List getInstancesList() } } /** - * - * *
      * The list of requested instances.
      * 
@@ -757,8 +697,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -773,15 +711,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(); @@ -795,8 +732,6 @@ public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -815,8 +750,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -837,15 +770,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(); @@ -859,15 +791,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()); @@ -878,8 +809,6 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builde return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -898,8 +827,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -910,7 +837,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); @@ -918,8 +846,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -937,8 +863,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -956,44 +880,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 { @@ -1001,8 +920,6 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int } } /** - * - * *
      * The list of requested instances.
      * 
@@ -1010,64 +927,55 @@ 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_; } - private com.google.protobuf.LazyStringList failedLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1078,15 +986,13 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1097,15 +1003,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.
@@ -1116,7 +1019,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. */ @@ -1124,8 +1026,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.
@@ -1136,16 +1036,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.
@@ -1156,23 +1054,21 @@ 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) { + public Builder setFailedLocations( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1183,22 +1079,20 @@ 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) { + public Builder addFailedLocations( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1209,19 +1103,18 @@ 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_); onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1232,7 +1125,6 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1242,8 +1134,6 @@ public Builder clearFailedLocations() { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1254,15 +1144,15 @@ 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) { + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); @@ -1271,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; @@ -1293,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 { @@ -1315,68 +1202,61 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1386,12 +1266,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(); } @@ -1400,27 +1280,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; @@ -1435,4 +1315,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 74165dcc31..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 3691b0075a..1f6615ad58 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,16 +15,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_ = "";
@@ -49,35 +31,32 @@ private ListSnapshotsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
@@ -86,10 +65,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 @@ -98,15 +74,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
@@ -115,18 +90,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 { @@ -137,15 +111,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -156,14 +127,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 +140,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 +171,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +182,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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 +206,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 +220,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 +256,96 @@ 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]
@@ -393,32 +357,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();
@@ -432,9 +397,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
@@ -453,8 +418,7 @@ 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);
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result = new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -466,39 +430,38 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest 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.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;
@@ -506,8 +469,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_;
         onChanged();
@@ -545,31 +507,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+
+              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) {
@@ -582,8 +540,6 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -592,16 +548,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; @@ -610,8 +564,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -620,17 +572,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 { @@ -638,8 +589,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
@@ -648,25 +597,21 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -675,21 +620,16 @@ 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -698,35 +638,30 @@ 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 @@ -734,38 +669,32 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -773,20 +702,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; @@ -795,21 +722,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 { @@ -817,68 +743,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -888,12 +807,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(); } @@ -902,27 +821,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; @@ -937,4 +856,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 8437c4e8da..7c7290b28e 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 f28481e039..0579e1c6b8 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,16 +15,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_ = "";
@@ -49,35 +31,32 @@ private ListSnapshotsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List snapshots_;
   /**
-   *
-   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -89,8 +68,6 @@ public java.util.List getSnapshotsList() return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -98,13 +75,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.
    * 
@@ -116,8 +91,6 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -129,8 +102,6 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -138,15 +109,14 @@ 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; 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 +124,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +132,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 +147,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 +165,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,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 { for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } @@ -225,7 +194,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 +208,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 +242,96 @@ 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]
@@ -379,32 +343,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();
@@ -421,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_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
@@ -442,8 +407,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -463,39 +427,38 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse 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.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;
@@ -503,8 +466,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()) {
@@ -523,10 +485,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_);
           }
@@ -562,32 +523,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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,28 +556,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.
      * 
@@ -633,8 +585,6 @@ public java.util.List getSnapshotsList() } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -649,8 +599,6 @@ public int getSnapshotsCount() { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -665,15 +613,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(); @@ -687,8 +634,6 @@ public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -707,8 +652,6 @@ public Builder setSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -729,15 +672,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(); @@ -751,15 +693,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()); @@ -770,8 +711,6 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builde return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -790,8 +729,6 @@ public Builder addSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -802,7 +739,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); @@ -810,8 +748,6 @@ public Builder addAllSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -829,8 +765,6 @@ public Builder clearSnapshots() { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -848,44 +782,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 { @@ -893,8 +822,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -902,47 +829,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_; @@ -950,8 +872,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
@@ -959,13 +879,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; @@ -974,8 +894,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
@@ -983,14 +901,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 { @@ -998,8 +917,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
@@ -1007,22 +924,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1030,18 +945,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1049,23 +961,23 @@ 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1075,12 +987,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(); } @@ -1089,27 +1001,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; @@ -1124,4 +1036,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 d321a94cb6..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 70% 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 b2ff56b8e2..f3d938fd81 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,44 +28,38 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -92,32 +68,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -128,46 +102,35 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view to be applied to the returned tables' fields.
    * Only 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.
    * Only 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(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_; /** - * - * *
    * Maximum number of results per page.
    * A page_size of zero lets the server choose the number of items to return.
@@ -179,7 +142,6 @@ public com.google.bigtable.admin.v2.Table.View getView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -190,14 +152,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 +165,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 +196,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +207,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,13 +234,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 +252,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 +290,97 @@ 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();
@@ -473,9 +430,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
@@ -494,8 +451,7 @@ 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);
+      com.google.bigtable.admin.v2.ListTablesRequest result = new com.google.bigtable.admin.v2.ListTablesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -508,39 +464,38 @@ public com.google.bigtable.admin.v2.ListTablesRequest 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.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;
@@ -589,37 +544,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
 
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
 
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -632,23 +582,19 @@ public Builder mergeFrom(
 
     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; @@ -657,24 +603,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 { @@ -682,70 +625,57 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -753,69 +683,55 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned tables' fields.
      * Only 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.
      * Only 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * Only 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * Only 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. */ @@ -823,34 +739,29 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * Only 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() { - + view_ = 0; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -862,7 +773,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -870,8 +780,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -883,19 +791,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -907,11 +812,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -919,20 +823,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; @@ -941,21 +843,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 { @@ -963,68 +864,61 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -1034,12 +928,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(); } @@ -1048,27 +942,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; @@ -1083,4 +977,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 7497be7075..6886c80e37 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Only 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.
    * Only 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.
    * A page_size of zero lets the server choose the number of items to return.
@@ -95,33 +62,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 fecfb3c893..3d039e327f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,35 +27,32 @@ private ListTablesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private java.util.List tables_;
   /**
-   *
-   *
    * 
    * The tables present in the requested instance.
    * 
@@ -85,8 +64,6 @@ public java.util.List getTablesList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -94,13 +71,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.
    * 
@@ -112,8 +87,6 @@ public int getTablesCount() { return tables_.size(); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -125,8 +98,6 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -134,15 +105,14 @@ 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; 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
@@ -150,7 +120,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,15 +128,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -175,15 +143,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -192,7 +161,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -221,7 +190,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_); @@ -234,16 +204,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; } @@ -266,104 +237,97 @@ 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]
@@ -371,32 +335,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();
@@ -413,9 +378,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
@@ -434,8 +399,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -455,39 +419,38 @@ public com.google.bigtable.admin.v2.ListTablesResponse 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.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;
@@ -495,8 +458,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()) {
@@ -515,10 +477,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_);
           }
@@ -554,32 +515,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();
+            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();
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -589,28 +548,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.
      * 
@@ -625,8 +577,6 @@ public java.util.List getTablesList() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -641,8 +591,6 @@ public int getTablesCount() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -657,15 +605,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(); @@ -679,8 +626,6 @@ public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -699,8 +644,6 @@ public Builder setTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -721,15 +664,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(); @@ -743,15 +685,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()); @@ -762,8 +703,6 @@ public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForVa return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -782,8 +721,6 @@ public Builder addTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -794,7 +731,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); @@ -802,8 +740,6 @@ public Builder addAllTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -821,8 +757,6 @@ public Builder clearTables() { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -840,44 +774,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 { @@ -885,8 +814,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -894,47 +821,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_; @@ -942,8 +864,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
@@ -951,13 +871,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; @@ -966,8 +886,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
@@ -975,14 +893,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 { @@ -990,8 +909,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
@@ -999,22 +916,20 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1022,18 +937,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1041,23 +953,23 @@ 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) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1067,12 +979,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(); } @@ -1081,27 +993,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; @@ -1116,4 +1028,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 476077f165..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 17266065d3..12e54c0a68 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,89 +27,74 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
@@ -138,34 +105,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.
@@ -176,97 +135,83 @@ 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(); - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase - getModCase(); + public 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -282,39 +227,32 @@ 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; private volatile java.lang.Object id_; /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -323,29 +261,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 { @@ -355,15 +293,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 @@ -371,27 +306,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.
@@ -402,22 +332,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 @@ -425,27 +352,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.
@@ -456,22 +378,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 @@ -479,15 +398,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 @@ -499,7 +415,6 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -511,7 +426,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -522,7 +438,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); } @@ -537,19 +454,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; @@ -559,25 +474,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: @@ -606,7 +524,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: @@ -617,95 +536,87 @@ 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 @@ -715,43 +626,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(); @@ -769,22 +676,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); } @@ -793,8 +697,7 @@ 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); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); result.id_ = id_; if (modCase_ == 2) { if (createBuilder_ == null) { @@ -822,78 +725,66 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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_; 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(); @@ -921,37 +812,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - - 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(); + + 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) { @@ -961,12 +851,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() { @@ -976,22 +866,21 @@ public Builder clearMod() { return this; } + 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; @@ -1000,21 +889,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 { @@ -1022,81 +910,68 @@ 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) { + public Builder setId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } 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 @@ -1104,15 +979,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 @@ -1130,8 +1002,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.
@@ -1153,8 +1023,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.
@@ -1162,7 +1030,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();
@@ -1173,8 +1042,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.
@@ -1184,13 +1051,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;
           }
@@ -1206,8 +1070,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.
@@ -1232,8 +1094,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.
@@ -1245,8 +1105,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.
@@ -1266,8 +1124,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.
@@ -1276,45 +1132,33 @@ 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());
           mod_ = null;
         }
         modCase_ = 2;
-        onChanged();
-        ;
+        onChanged();;
         return createBuilder_;
       }
 
       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 +1166,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 +1189,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 +1210,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 +1217,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 +1229,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 +1238,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 +1257,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 +1281,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 +1292,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 +1311,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,55 +1319,43 @@ 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());
           mod_ = null;
         }
         modCase_ = 3;
-        onChanged();
-        ;
+        onChanged();;
         return updateBuilder_;
       }
 
       /**
-       *
-       *
        * 
        * 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() { @@ -1552,15 +1365,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 +1381,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 +1397,6 @@ public Builder clearDrop() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1603,45 +1409,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,27 +1455,22 @@ 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; 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 @@ -1682,33 +1479,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 { @@ -1717,11 +1512,8 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; - 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 can be
@@ -1729,18 +1521,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 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 can be
@@ -1748,19 +1535,14 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 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 can be
@@ -1768,17 +1550,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 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 can be
@@ -1786,18 +1564,13 @@ public int getModificationsCount() {
    * 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 can be
@@ -1805,18 +1578,15 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
    * 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; @@ -1828,7 +1598,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1848,7 +1619,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; @@ -1858,16 +1630,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; } @@ -1891,104 +1664,96 @@ 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]
@@ -1996,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();
@@ -2038,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
@@ -2059,8 +1825,7 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (modificationsBuilder_ == null) {
@@ -2080,39 +1845,38 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest 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.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;
@@ -2120,8 +1884,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_;
         onChanged();
@@ -2144,10 +1907,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            modificationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getModificationsFieldBuilder()
-                    : null;
+            modificationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getModificationsFieldBuilder() : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -2179,34 +1941,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -2216,29 +1974,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; @@ -2247,25 +2000,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 { @@ -2273,100 +2023,78 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - modifications_ = - new java.util.ArrayList< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( - modifications_); + modifications_ = new java.util.ArrayList(modifications_); bitField0_ |= 0x00000001; - } + } } 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 can be
@@ -2374,12 +2102,9 @@ private void ensureModificationsIsMutable() {
      * 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 { @@ -2387,8 +2112,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 can be
@@ -2396,9 +2119,7 @@ private void ensureModificationsIsMutable() {
      * 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) { @@ -2408,8 +2129,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 can be
@@ -2417,12 +2136,9 @@ public int getModificationsCount() {
      * 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 { @@ -2430,8 +2146,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 can be
@@ -2439,9 +2153,7 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
      * 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) { @@ -2458,8 +2170,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 can be
@@ -2467,14 +2177,10 @@ public Builder setModifications(
      * 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()); @@ -2485,8 +2191,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 can be
@@ -2494,12 +2198,9 @@ public Builder setModifications(
      * 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(); @@ -2513,8 +2214,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 can be
@@ -2522,9 +2221,7 @@ public Builder addModifications(
      * 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) { @@ -2541,8 +2238,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 can be
@@ -2550,13 +2245,10 @@ public Builder addModifications(
      * 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()); @@ -2567,8 +2259,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 can be
@@ -2576,14 +2266,10 @@ public Builder addModifications(
      * 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()); @@ -2594,8 +2280,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 can be
@@ -2603,17 +2287,14 @@ public Builder addModifications(
      * 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); @@ -2621,8 +2302,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 can be
@@ -2630,9 +2309,7 @@ public Builder addAllModifications(
      * 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) { @@ -2645,8 +2322,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 can be
@@ -2654,9 +2329,7 @@ public Builder clearModifications() {
      * 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) { @@ -2669,8 +2342,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 can be
@@ -2678,17 +2349,13 @@ public Builder removeModifications(int index) {
      * 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 can be
@@ -2696,21 +2363,16 @@ public Builder removeModifications(int index) {
      * 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 can be
@@ -2718,14 +2380,10 @@ public Builder removeModifications(int index) {
      * 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 { @@ -2733,8 +2391,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 can be
@@ -2742,20 +2398,13 @@ public Builder removeModifications(int index) {
      * 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 can be
@@ -2763,21 +2412,14 @@ public Builder removeModifications(int index) {
      * 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 can be
@@ -2785,27 +2427,18 @@ public Builder removeModifications(int index) {
      * 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_ & 0x00000001) != 0), getParentForChildren(), @@ -2814,9 +2447,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); } @@ -2826,12 +2459,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(); } @@ -2840,27 +2473,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; @@ -2875,4 +2508,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 374bbc2440..d36d7a73a3 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 can be
@@ -66,15 +39,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * 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 can be
@@ -82,14 +51,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * 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 can be
@@ -97,14 +62,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * 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 can be
@@ -112,16 +73,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * 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 can be
@@ -129,10 +85,8 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * 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 c8dbdfc47e..46cd145eff 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/common.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Encapsulates progress related information for a Cloud Bigtable long
  * running operation.
@@ -28,56 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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_;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -88,14 +67,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 @@ -103,14 +79,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -118,8 +91,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -134,15 +105,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 @@ -150,15 +118,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 @@ -166,8 +131,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.
@@ -181,7 +144,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -193,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 (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -213,13 +176,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;
@@ -229,22 +195,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;
@@ -272,104 +240,97 @@ 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.
@@ -377,32 +338,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();
@@ -424,9 +386,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
@@ -445,8 +407,7 @@ 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);
+      com.google.bigtable.admin.v2.OperationProgress result = new com.google.bigtable.admin.v2.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -466,39 +427,38 @@ public com.google.bigtable.admin.v2.OperationProgress 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.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;
@@ -542,31 +502,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
+            case 8: {
+              progressPercent_ = input.readInt32();
 
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -577,17 +537,14 @@ public Builder mergeFrom(
       return this;
     }
 
-    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,38 +552,32 @@ 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. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); 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() { - + progressPercent_ = 0; onChanged(); return this; @@ -634,33 +585,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -671,8 +613,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -693,15 +633,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(); onChanged(); @@ -712,8 +651,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -724,7 +661,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -736,8 +673,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -756,8 +691,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -765,13 +698,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -782,12 +713,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.
      * 
@@ -795,17 +725,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_; @@ -813,35 +740,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -852,8 +770,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -875,8 +791,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -884,7 +798,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();
         onChanged();
@@ -895,8 +810,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.
@@ -908,7 +821,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -920,8 +833,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -941,8 +852,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -951,13 +860,11 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+      
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -969,12 +876,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.
@@ -983,24 +889,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);
     }
 
@@ -1010,12 +913,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();
   }
@@ -1024,27 +927,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;
@@ -1059,4 +962,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 6b558fc107..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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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 7b2c946018..fc5e6abda6 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,57 +13,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -89,29 +67,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 { @@ -122,14 +100,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 @@ -137,25 +112,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.
    * 
@@ -168,7 +136,6 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -200,7 +168,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; @@ -210,18 +179,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; @@ -246,104 +216,96 @@ 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
@@ -353,32 +315,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();
@@ -394,9 +357,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
@@ -415,8 +378,7 @@ 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);
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
       result.name_ = name_;
       if (progressBuilder_ == null) {
         result.progress_ = progress_;
@@ -431,39 +393,38 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata 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.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;
@@ -471,8 +432,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_;
         onChanged();
@@ -506,25 +466,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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,20 +496,18 @@ public Builder mergeFrom(
 
     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; @@ -559,21 +516,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 { @@ -581,61 +537,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -643,47 +592,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 progressBuilder_ != null || progress_ != null; } /** - * - * *
      * 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.
      * 
@@ -704,8 +640,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -724,8 +658,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -736,9 +668,7 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } @@ -750,8 +680,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -770,8 +698,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -779,13 +705,11 @@ public Builder clearProgress() { * .google.bigtable.admin.v2.OperationProgress progress = 2; */ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -796,14 +720,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.
      * 
@@ -811,24 +732,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); } @@ -838,12 +756,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(); } @@ -852,27 +770,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; @@ -887,4 +805,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 3ba07f028d..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 71% 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 6ea994b7ca..1060fa5e3c 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,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.
    * 
@@ -114,14 +88,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 @@ -129,14 +100,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 @@ -144,8 +112,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.
    * 
@@ -160,14 +126,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 @@ -175,25 +138,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.
    * 
@@ -201,13 +157,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() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { return getOriginalRequest(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,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 (requestTime_ != null) { output.writeMessage(1, getRequestTime()); } @@ -239,13 +194,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; @@ -255,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.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; @@ -304,136 +264,129 @@ 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(); @@ -459,9 +412,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 @@ -480,8 +433,7 @@ 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); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; } else { @@ -505,39 +457,38 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata 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.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; @@ -545,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()); } @@ -582,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -619,47 +571,34 @@ public Builder mergeFrom( 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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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 +619,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(); onChanged(); @@ -699,8 +637,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -711,9 +647,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -725,8 +659,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -745,8 +677,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -754,13 +684,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 1; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -771,14 +699,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.
      * 
@@ -786,17 +711,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_; @@ -804,47 +726,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -865,15 +774,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(); onChanged(); @@ -884,8 +792,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -896,7 +802,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -908,8 +814,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -928,8 +832,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -937,13 +839,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 2; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -954,14 +854,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.
      * 
@@ -969,17 +866,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_; @@ -987,55 +881,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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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(); @@ -1049,8 +929,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1069,22 +947,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 (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -1096,8 +969,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1116,42 +987,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() { + 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.
      * 
@@ -1159,24 +1021,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); } @@ -1186,12 +1045,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(); } @@ -1200,27 +1059,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; @@ -1235,4 +1094,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 1ba9bbad43..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 66% 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 51fab538cd..345a3cb760 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,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -85,16 +63,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 @@ -102,15 +76,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() { @@ -120,15 +91,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 @@ -136,15 +103,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 @@ -152,14 +115,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() { @@ -167,7 +127,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -196,10 +156,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; @@ -209,21 +171,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; @@ -250,136 +213,129 @@ 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(); @@ -399,9 +355,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 @@ -420,8 +376,7 @@ 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); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); if (clusterBuilder_ == null) { result.cluster_ = cluster_; } else { @@ -440,39 +395,38 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest 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.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; @@ -480,8 +434,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()); } @@ -514,25 +467,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -545,61 +499,42 @@ public Builder mergeFrom( 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 clusterBuilder_ != null || 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. */ 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) { @@ -615,18 +550,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(); onChanged(); @@ -637,24 +569,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 (cluster_ != null) { cluster_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); } else { cluster_ = value; } @@ -666,16 +592,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() { if (clusterBuilder_ == null) { @@ -689,67 +611,51 @@ 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() { - + onChanged(); 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_; @@ -757,55 +663,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -821,16 +711,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(); onChanged(); @@ -841,20 +729,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -866,14 +751,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() { if (updateMaskBuilder_ == null) { @@ -887,68 +769,55 @@ 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() { - + onChanged(); 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); } @@ -958,12 +827,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(); } @@ -972,27 +841,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; @@ -1007,4 +876,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 bd595c00d1..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 c3dc82149c..6aea999a8b 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,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -85,34 +62,23 @@ 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() { @@ -122,16 +88,12 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { 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 @@ -139,16 +101,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 @@ -156,15 +114,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() { @@ -172,7 +127,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +138,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -201,10 +156,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; @@ -214,21 +171,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; @@ -255,136 +213,129 @@ 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(); @@ -404,9 +355,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 @@ -425,8 +376,7 @@ 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); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); if (instanceBuilder_ == null) { result.instance_ = instance_; } else { @@ -445,39 +395,38 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest 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.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; @@ -485,8 +434,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()); } @@ -519,25 +467,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -550,58 +499,39 @@ public Builder mergeFrom( 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 instanceBuilder_ != null || 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. */ 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) { @@ -617,17 +547,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(); onChanged(); @@ -638,23 +565,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 (instance_ != null) { instance_ = - com.google.bigtable.admin.v2.Instance.newBuilder(instance_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); } else { instance_ = value; } @@ -666,15 +587,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() { if (instanceBuilder_ == null) { @@ -688,64 +605,48 @@ 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() { - + onChanged(); 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_; @@ -753,58 +654,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 updateMaskBuilder_ != null || 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. */ 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) { @@ -820,17 +705,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(); onChanged(); @@ -841,21 +724,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -867,15 +747,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() { if (updateMaskBuilder_ == null) { @@ -889,71 +766,58 @@ 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() { - + onChanged(); 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); } @@ -963,12 +827,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(); } @@ -977,27 +841,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; @@ -1012,4 +876,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 3b3bde4012..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 7f12b4a44c..d5e19dd253 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,83 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -93,71 +71,57 @@ 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_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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 @@ -165,27 +129,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.
@@ -196,13 +155,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;
@@ -214,10 +172,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) {
@@ -232,15 +189,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;
@@ -250,7 +205,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);
@@ -261,7 +216,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:
@@ -292,136 +248,130 @@ 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(); @@ -436,9 +386,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 @@ -457,8 +407,7 @@ 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); + com.google.bigtable.admin.v2.RestoreInfo result = new com.google.bigtable.admin.v2.RestoreInfo(this); result.sourceType_ = sourceType_; if (sourceInfoCase_ == 2) { if (backupInfoBuilder_ == null) { @@ -476,39 +425,38 @@ public com.google.bigtable.admin.v2.RestoreInfo 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.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; @@ -521,15 +469,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(); @@ -557,25 +503,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - - 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(); + + 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) { @@ -585,12 +530,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() { @@ -600,67 +545,54 @@ public Builder clearSourceInfo() { return this; } + 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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. */ @@ -668,44 +600,35 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -713,15 +636,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 @@ -739,8 +659,6 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -762,8 +680,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.
@@ -771,7 +687,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();
@@ -782,8 +699,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.
@@ -793,13 +708,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;
         }
@@ -815,8 +727,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.
@@ -841,8 +751,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -854,8 +762,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.
@@ -875,8 +781,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -885,32 +789,26 @@ 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());
         sourceInfo_ = null;
       }
       sourceInfoCase_ = 2;
-      onChanged();
-      ;
+      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);
     }
 
@@ -920,12 +818,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();
   }
@@ -934,27 +832,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;
@@ -969,4 +867,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 fdcf4a0c1e..e93e32a059 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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 3a3567dc61..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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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 a5bda7dd29..b197dfc157 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,41 +28,37 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -96,35 +74,30 @@ 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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -133,29 +106,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 { @@ -166,43 +139,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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 @@ -211,21 +174,22 @@ 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(); } @@ -233,8 +197,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; 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 +210,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -257,15 +218,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 +239,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,15 +259,12 @@ 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]
    * operation.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -314,26 +272,19 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
    * operation.
    * 
* * .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]
    * operation.
@@ -347,7 +298,6 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,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) {
@@ -389,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;
@@ -414,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:
@@ -473,103 +422,96 @@ 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].
@@ -577,32 +519,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();
@@ -627,9 +570,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
@@ -648,8 +591,7 @@ 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);
+      com.google.bigtable.admin.v2.RestoreTableMetadata result = new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
       result.name_ = name_;
       result.sourceType_ = sourceType_;
       if (sourceInfoCase_ == 3) {
@@ -674,39 +616,38 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata 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.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;
@@ -714,8 +655,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_;
         onChanged();
@@ -731,15 +671,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();
@@ -767,43 +705,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                optimizeTableOperationName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              optimizeTableOperationName_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              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) {
@@ -813,12 +749,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() {
@@ -828,22 +764,21 @@ public Builder clearSourceInfo() {
       return this;
     }
 
+
     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; @@ -852,21 +787,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 { @@ -874,61 +808,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -936,65 +863,51 @@ 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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. */ @@ -1002,37 +915,30 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -1041,7 +947,6 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1058,7 +963,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) { @@ -1072,8 +979,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(); @@ -1083,16 +993,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; } @@ -1107,7 +1016,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) { @@ -1124,11 +1035,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)) { @@ -1140,36 +1055,30 @@ 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()); sourceInfo_ = null; } sourceInfoCase_ = 3; - onChanged(); - ; + onChanged();; return backupInfoBuilder_; } 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
@@ -1183,13 +1092,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; @@ -1198,8 +1107,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
@@ -1213,14 +1120,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 { @@ -1228,8 +1136,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
@@ -1243,22 +1149,20 @@ 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) { + public Builder setOptimizeTableOperationName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizeTableOperationName_ = value; 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
@@ -1272,18 +1176,15 @@ public Builder setOptimizeTableOperationName(java.lang.String value) {
      * 
* * string optimize_table_operation_name = 4; - * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { - + optimizeTableOperationName_ = getDefaultInstance().getOptimizeTableOperationName(); 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
@@ -1297,16 +1198,16 @@ 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) { + public Builder setOptimizeTableOperationNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizeTableOperationName_ = value; onChanged(); return this; @@ -1314,49 +1215,36 @@ 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]
      * operation.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** - * - * *
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
      * 
* * .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]
      * operation.
@@ -1378,8 +1266,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1399,8 +1285,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1412,9 +1296,7 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-              com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
         } else {
           progress_ = value;
         }
@@ -1426,8 +1308,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1447,8 +1327,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1457,13 +1335,11 @@ public Builder clearProgress() {
      * .google.bigtable.admin.v2.OperationProgress progress = 5;
      */
     public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder() {
-
+      
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1475,14 +1351,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]
      * operation.
@@ -1491,24 +1364,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);
     }
 
@@ -1518,12 +1388,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();
   }
@@ -1532,27 +1402,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;
@@ -1567,4 +1437,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 514e02881e..c41e6b3084 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,40 +92,32 @@ 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]
    * operation.
    * 
* * .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]
    * operation.
    * 
* * .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]
    * operation.
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 1ca6255dcb..e838020d3a 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,41 +27,37 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -95,39 +73,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;
   private volatile java.lang.Object parent_;
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. This instance must be in the same project as the source backup.
    * 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 @@ -136,33 +107,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. This instance must be in the same project as the source backup.
    * 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 { @@ -173,8 +142,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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
@@ -183,7 +150,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -192,15 +158,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
@@ -209,15 +174,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 { @@ -227,30 +193,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() { @@ -261,7 +221,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; @@ -270,25 +231,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; } @@ -299,7 +259,6 @@ public com.google.protobuf.ByteString getBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,7 +270,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -347,20 +307,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: @@ -393,104 +355,97 @@ 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].
@@ -498,32 +453,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();
@@ -537,9 +493,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
@@ -558,8 +514,7 @@ 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);
+      com.google.bigtable.admin.v2.RestoreTableRequest result = new com.google.bigtable.admin.v2.RestoreTableRequest(this);
       result.parent_ = parent_;
       result.tableId_ = tableId_;
       if (sourceCase_ == 3) {
@@ -574,39 +529,38 @@ public com.google.bigtable.admin.v2.RestoreTableRequest 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.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;
@@ -614,8 +568,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_;
         onChanged();
@@ -625,17 +578,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();
@@ -663,32 +614,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -698,12 +645,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() {
@@ -713,26 +660,23 @@ public Builder clearSource() {
       return this;
     }
 
+
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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; @@ -741,25 +685,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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 { @@ -767,73 +708,60 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -841,8 +769,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
@@ -851,13 +777,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; @@ -866,8 +792,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
@@ -876,14 +800,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 { @@ -891,8 +816,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
@@ -901,22 +824,20 @@ 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) { + public Builder setTableId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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
@@ -925,18 +846,15 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); 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
@@ -945,31 +863,28 @@ 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) { + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = 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 Whether the backup field is set. */ @java.lang.Override @@ -977,15 +892,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 @@ -995,7 +907,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; @@ -1006,26 +919,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; } @@ -1035,37 +947,32 @@ 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) { + public Builder setBackup( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + 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() { @@ -1077,31 +984,29 @@ 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) { + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -1111,12 +1016,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(); } @@ -1125,27 +1030,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; @@ -1160,4 +1065,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 71% 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 f55e5f6108..d1f765e95c 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,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. This instance must be in the same project as the source backup.
    * 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. This instance must be in the same project as the source backup.
    * 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
@@ -67,13 +40,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
@@ -82,50 +52,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(); public 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 75% 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 15afea9cec..c24938c22d 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -32,16 +15,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;
@@ -50,43 +32,39 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
      * 
@@ -95,8 +73,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -105,8 +81,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
@@ -120,8 +94,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -130,8 +102,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.
      * 
@@ -140,8 +110,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
@@ -152,6 +120,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(
@@ -176,49 +145,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;
@@ -238,8 +207,6 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -247,7 +214,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -256,15 +222,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -272,15 +237,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 { @@ -291,14 +257,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; - * * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -306,25 +269,18 @@ 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; - * * @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.
    * 
@@ -339,8 +295,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; 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
@@ -349,7 +303,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -360,14 +313,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; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -375,14 +325,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ @java.lang.Override @@ -390,8 +337,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
@@ -406,8 +351,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -415,7 +358,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -423,8 +365,6 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -432,7 +372,6 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ @java.lang.Override @@ -440,8 +379,6 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -458,50 +395,38 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @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; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Snapshot.State getState() { + @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; private volatile java.lang.Object description_; /** - * - * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ @java.lang.Override @@ -510,29 +435,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; } } /** - * - * *
    * Output only. 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 { @@ -541,7 +466,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -553,7 +477,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -588,19 +513,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_); @@ -613,29 +543,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; } @@ -654,7 +590,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(); @@ -672,103 +609,97 @@ 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.
@@ -780,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();
@@ -839,9 +771,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
@@ -860,8 +792,7 @@ 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);
+      com.google.bigtable.admin.v2.Snapshot result = new com.google.bigtable.admin.v2.Snapshot(this);
       result.name_ = name_;
       if (sourceTableBuilder_ == null) {
         result.sourceTable_ = sourceTable_;
@@ -889,39 +820,38 @@ public com.google.bigtable.admin.v2.Snapshot 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.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;
@@ -979,55 +909,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 18
-            case 24:
-              {
-                dataSizeBytes_ = input.readInt64();
-
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-
-                break;
-              } // case 42
-            case 48:
-              {
-                state_ = input.readEnum();
-
-                break;
-              } // case 48
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 18
+            case 24: {
+              dataSizeBytes_ = input.readInt64();
+
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+
+              break;
+            } // case 42
+            case 48: {
+              state_ = input.readEnum();
+
+              break;
+            } // case 48
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+
+              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) {
@@ -1040,8 +968,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1049,13 +975,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; @@ -1064,8 +990,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1073,14 +997,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 { @@ -1088,8 +1013,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1097,22 +1020,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1120,18 +1041,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1139,16 +1057,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1156,47 +1074,34 @@ 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; - * * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return sourceTableBuilder_ != null || sourceTable_ != null; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; - * * @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.
      * 
@@ -1217,15 +1122,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; */ - 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(); onChanged(); @@ -1236,8 +1140,6 @@ 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.
      * 
@@ -1248,9 +1150,7 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { if (sourceTable_ != null) { sourceTable_ = - com.google.bigtable.admin.v2.Table.newBuilder(sourceTable_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(sourceTable_).mergeFrom(value).buildPartial(); } else { sourceTable_ = value; } @@ -1262,8 +1162,6 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1282,8 +1180,6 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1291,13 +1187,11 @@ public Builder clearSourceTable() { * .google.bigtable.admin.v2.Table source_table = 2; */ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { - + onChanged(); return getSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1308,14 +1202,11 @@ 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.
      * 
@@ -1323,26 +1214,21 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { * .google.bigtable.admin.v2.Table source_table = 2; */ 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
@@ -1351,7 +1237,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -1359,8 +1244,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
@@ -1369,19 +1252,16 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3; - * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ public Builder setDataSizeBytes(long value) { - + dataSizeBytes_ = value; onChanged(); 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
@@ -1390,11 +1270,10 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { - + dataSizeBytes_ = 0L; onChanged(); return this; @@ -1402,47 +1281,34 @@ 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; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; - * * @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.
      * 
@@ -1463,15 +1329,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; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1482,8 +1347,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1494,7 +1357,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1506,8 +1369,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1526,8 +1387,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1535,13 +1394,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1552,14 +1409,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1567,17 +1421,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -1585,13 +1436,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_; /** - * - * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1599,15 +1445,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** - * - * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1615,21 +1458,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(); } } /** - * - * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1652,8 +1490,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1662,7 +1498,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();
         onChanged();
@@ -1673,8 +1510,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1687,7 +1522,7 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
         if (deleteTime_ != null) {
           deleteTime_ =
-              com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial();
         } else {
           deleteTime_ = value;
         }
@@ -1699,8 +1534,6 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1721,8 +1554,6 @@ public Builder clearDeleteTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1732,13 +1563,11 @@ public Builder clearDeleteTime() {
      * .google.protobuf.Timestamp delete_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
-
+      
       onChanged();
       return getDeleteTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1751,14 +1580,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1768,17 +1594,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_;
@@ -1786,65 +1609,51 @@ 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; - * * @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; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.valueOf(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; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1852,24 +1661,21 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; - * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1877,20 +1683,18 @@ public Builder clearState() { private java.lang.Object description_ = ""; /** - * - * *
      * Output only. 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; @@ -1899,21 +1703,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Output only. 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 { @@ -1921,68 +1724,61 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Output only. 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Description of the snapshot.
      * 
* * string description = 7; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Output only. 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -1992,12 +1788,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(); } @@ -2006,27 +1802,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; @@ -2041,4 +1837,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 82% 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 332324988e..c1077b579e 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 { /** - * - * *
    * Output only. 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(); /** - * - * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -47,38 +26,30 @@ 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; - * * @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; - * * @return The sourceTable. */ com.google.bigtable.admin.v2.Table getSourceTable(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
@@ -88,8 +59,6 @@ public interface SnapshotOrBuilder 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
@@ -98,38 +67,29 @@ public interface SnapshotOrBuilder
    * 
* * int64 data_size_bytes = 3; - * * @return The dataSizeBytes. */ long getDataSizeBytes(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. The time when the snapshot is created.
    * 
@@ -139,8 +99,6 @@ public interface SnapshotOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -148,13 +106,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -162,13 +117,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -180,52 +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; - * * @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; - * * @return The state. */ com.google.bigtable.admin.v2.Snapshot.State getState(); /** - * - * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Output only. 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 71% 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 a789b41783..374cf7eeee 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by SnapshotTable.
  * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -31,55 +14,51 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -87,25 +66,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.
    * 
@@ -120,14 +92,11 @@ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalReq 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 @@ -135,14 +104,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 @@ -150,8 +116,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.
    * 
@@ -166,14 +130,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 @@ -181,14 +142,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 @@ -196,8 +154,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.
    * 
@@ -210,7 +166,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +177,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -242,13 +198,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; @@ -258,25 +217,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -307,103 +268,96 @@ 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.
    * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -414,32 +368,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();
@@ -465,9 +420,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
@@ -486,8 +441,7 @@ 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);
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result = new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
       if (originalRequestBuilder_ == null) {
         result.originalRequest_ = originalRequest_;
       } else {
@@ -511,39 +465,38 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata 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.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 +504,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 +540,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -625,47 +579,34 @@ public Builder mergeFrom(
 
     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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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.
      * 
@@ -686,8 +627,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -706,8 +645,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -718,9 +655,7 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -732,8 +667,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -752,8 +685,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -761,32 +692,26 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -794,17 +719,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_; @@ -812,47 +734,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -873,15 +782,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(); onChanged(); @@ -892,8 +800,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -904,9 +810,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -918,8 +822,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -938,8 +840,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -947,13 +847,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -964,14 +862,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.
      * 
@@ -979,17 +874,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_; @@ -997,47 +889,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1058,15 +937,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(); onChanged(); @@ -1077,8 +955,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1089,7 +965,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -1101,8 +977,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1121,8 +995,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1130,13 +1002,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1147,14 +1017,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.
      * 
@@ -1162,24 +1029,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); } @@ -1189,12 +1053,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(); } @@ -1203,27 +1067,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; @@ -1238,4 +1102,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 8a2eeb04bb..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 e759062c78..1c7ab8a668 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -32,16 +15,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_ = "";
@@ -51,45 +33,39 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -98,33 +74,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 { @@ -135,18 +109,13 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int CLUSTER_FIELD_NUMBER = 2; 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 +124,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 { @@ -192,8 +159,6 @@ public com.google.protobuf.ByteString getClusterBytes() { public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -202,7 +167,6 @@ public com.google.protobuf.ByteString getClusterBytes() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ @java.lang.Override @@ -211,15 +175,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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -228,15 +191,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 { @@ -247,8 +211,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
@@ -257,7 +219,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -265,8 +226,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
@@ -275,7 +234,6 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ @java.lang.Override @@ -283,8 +241,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,14 +258,11 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
   private volatile java.lang.Object description_;
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -318,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 { @@ -349,7 +302,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,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_); } @@ -396,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_); @@ -409,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; } @@ -454,103 +412,96 @@ 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]
@@ -562,32 +513,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();
@@ -609,9 +561,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
@@ -630,8 +582,7 @@ 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);
+      com.google.bigtable.admin.v2.SnapshotTableRequest result = new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
       result.name_ = name_;
       result.cluster_ = cluster_;
       result.snapshotId_ = snapshotId_;
@@ -649,39 +600,38 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest 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.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;
@@ -689,8 +639,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_;
         onChanged();
@@ -736,43 +685,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                cluster_ = input.readStringRequireUtf8();
+              break;
+            } // case 10
+            case 18: {
+              cluster_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-            case 26:
-              {
-                snapshotId_ = input.readStringRequireUtf8();
+              break;
+            } // case 18
+            case 26: {
+              snapshotId_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTtlFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -785,24 +730,20 @@ public Builder mergeFrom(
 
     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; @@ -811,25 +752,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 { @@ -837,73 +775,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -911,24 +836,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; @@ -937,25 +858,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 { @@ -963,73 +881,60 @@ 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) { + public Builder setCluster( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cluster_ = value; 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() { - + cluster_ = getDefaultInstance().getCluster(); 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) = { ... } * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cluster_ = value; onChanged(); return this; @@ -1037,8 +942,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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1047,13 +950,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; @@ -1062,8 +965,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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1072,14 +973,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 { @@ -1087,8 +989,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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1097,22 +997,20 @@ 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) { + public Builder setSnapshotId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + snapshotId_ = value; 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1121,18 +1019,15 @@ public Builder setSnapshotId(java.lang.String value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSnapshotId() { - + snapshotId_ = getDefaultInstance().getSnapshotId(); 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1141,16 +1036,16 @@ 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) { + public Builder setSnapshotIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + snapshotId_ = value; onChanged(); return this; @@ -1158,13 +1053,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
@@ -1173,15 +1063,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 ttlBuilder_ != null || 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
@@ -1190,7 +1077,6 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1201,8 +1087,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
@@ -1226,8 +1110,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
@@ -1237,7 +1119,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();
         onChanged();
@@ -1248,8 +1131,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
@@ -1262,7 +1143,8 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
         if (ttl_ != null) {
-          ttl_ = com.google.protobuf.Duration.newBuilder(ttl_).mergeFrom(value).buildPartial();
+          ttl_ =
+            com.google.protobuf.Duration.newBuilder(ttl_).mergeFrom(value).buildPartial();
         } else {
           ttl_ = value;
         }
@@ -1274,8 +1156,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
@@ -1297,8 +1177,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
@@ -1309,13 +1187,11 @@ public Builder clearTtl() {
      * .google.protobuf.Duration ttl = 4;
      */
     public com.google.protobuf.Duration.Builder getTtlBuilder() {
-
+      
       onChanged();
       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
@@ -1329,12 +1205,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
@@ -1345,16 +1220,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_;
@@ -1362,20 +1235,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; @@ -1384,21 +1255,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 { @@ -1406,68 +1276,61 @@ 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) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -1477,12 +1340,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(); } @@ -1491,27 +1354,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; @@ -1526,4 +1389,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 292359964b..4642e732e7 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -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 7a408f3c89..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 654ce87398..6f88195dce 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,46 +27,44 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Table();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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.
@@ -92,10 +72,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.
@@ -105,8 +84,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -118,8 +95,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.
@@ -129,8 +104,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.
      * 
@@ -139,6 +112,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( @@ -163,12 +137,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; } } @@ -176,28 +147,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); } @@ -206,7 +177,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; @@ -224,18 +196,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.
      * 
@@ -244,8 +213,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * Only populates `name`.
      * 
@@ -254,8 +221,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ NAME_ONLY(1), /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -264,8 +229,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA_VIEW(2), /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -275,8 +238,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     REPLICATION_VIEW(3),
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -285,8 +246,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_VIEW(5), /** - * - * *
      * Populates all fields.
      * 
@@ -298,8 +257,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -308,8 +265,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only populates `name`.
      * 
@@ -318,8 +273,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.
      * 
@@ -328,8 +281,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.
@@ -339,8 +290,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.
      * 
@@ -349,8 +298,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** - * - * *
      * Populates all fields.
      * 
@@ -359,6 +306,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( @@ -383,55 +331,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; @@ -448,43 +393,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
@@ -493,14 +425,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
@@ -509,14 +438,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
@@ -525,14 +450,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
@@ -541,15 +462,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
@@ -558,31 +475,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(); @@ -590,43 +503,39 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterState(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
        * 
@@ -635,8 +544,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
@@ -647,8 +554,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.
@@ -658,8 +563,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.
@@ -669,8 +572,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
@@ -681,8 +582,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
@@ -696,8 +595,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
       ;
 
       /**
-       *
-       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -706,8 +603,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
@@ -718,8 +613,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.
@@ -729,8 +622,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.
@@ -740,8 +631,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
@@ -752,8 +641,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
@@ -764,6 +651,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(
@@ -788,20 +676,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;
         }
       }
 
@@ -809,31 +690,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();
@@ -841,7 +720,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;
@@ -861,51 +741,33 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int 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 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() { + @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; 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
@@ -914,17 +776,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
@@ -933,18 +791,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
@@ -953,17 +807,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
@@ -972,17 +822,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
@@ -991,9 +837,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( @@ -1002,7 +846,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1014,10 +857,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++) { @@ -1032,13 +874,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; @@ -1048,16 +890,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; } @@ -1081,93 +923,87 @@ 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 @@ -1177,41 +1013,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(); @@ -1228,9 +1062,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 @@ -1249,8 +1083,7 @@ 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); int from_bitField0_ = bitField0_; result.replicationState_ = replicationState_; if (encryptionInfoBuilder_ == null) { @@ -1270,41 +1103,38 @@ public com.google.bigtable.admin.v2.Table.ClusterState 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.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; @@ -1312,8 +1142,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()); } @@ -1335,10 +1164,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000001); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1370,32 +1198,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - replicationState_ = input.readEnum(); - - 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(); + + 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) { @@ -1405,135 +1231,95 @@ 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. */ public Builder setReplicationStateValue(int value) { - + replicationState_ = value; onChanged(); 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() { + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf(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(); } - + replicationState_ = value.getNumber(); onChanged(); 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() { - + replicationState_ = 0; onChanged(); return this; } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - encryptionInfo_ = - new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000001; - } + } } 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
@@ -1542,9 +1328,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) { @@ -1554,8 +1338,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
@@ -1564,9 +1346,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) { @@ -1576,8 +1356,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
@@ -1586,9 +1364,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) { @@ -1598,8 +1374,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
@@ -1608,9 +1382,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) { @@ -1627,8 +1399,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
@@ -1637,9 +1407,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) { @@ -1653,8 +1421,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
@@ -1663,9 +1429,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) { @@ -1681,8 +1445,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
@@ -1691,9 +1453,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) { @@ -1710,8 +1470,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
@@ -1720,9 +1478,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) { @@ -1736,8 +1492,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
@@ -1746,9 +1500,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) { @@ -1762,8 +1514,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
@@ -1772,15 +1522,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); @@ -1788,8 +1537,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
@@ -1798,9 +1545,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) { @@ -1813,8 +1558,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
@@ -1823,9 +1566,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) { @@ -1838,8 +1579,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
@@ -1848,17 +1587,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
@@ -1867,21 +1602,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
@@ -1890,12 +1620,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 { @@ -1903,8 +1631,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
@@ -1913,17 +1639,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
@@ -1932,18 +1654,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
@@ -1952,26 +1670,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_ & 0x00000001) != 0), getParentForChildren(), @@ -1980,7 +1690,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) { @@ -1993,12 +1702,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(); } @@ -2007,28 +1716,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; @@ -2043,13 +1751,12 @@ 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; 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]*`.
@@ -2057,7 +1764,6 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2066,15 +1772,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]*`.
@@ -2082,15 +1787,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 { @@ -2099,29 +1805,21 @@ 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()); } - - 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); @@ -2133,8 +1831,6 @@ 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
@@ -2143,27 +1839,24 @@ 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
@@ -2172,18 +1865,14 @@ 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
@@ -2192,23 +1881,19 @@ 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 getClusterStatesOrDefault( - java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -2217,16 +1902,13 @@ public 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]; */ @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)) { @@ -2236,26 +1918,21 @@ 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()); } - - private com.google.protobuf.MapField - columnFamilies_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; private com.google.protobuf.MapField - internalGetColumnFamilies() { + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); @@ -2267,8 +1944,6 @@ public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -2276,23 +1951,22 @@ 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`, `FULL`
@@ -2301,13 +1975,11 @@ 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`, `FULL`
@@ -2316,18 +1988,16 @@ 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 getColumnFamiliesOrDefault(
-      java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+      java.lang.String 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`, `FULL`
@@ -2336,10 +2006,10 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 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)) {
@@ -2351,8 +2021,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_;
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
    * table. Timestamps not matching the granularity will be rejected.
@@ -2360,19 +2028,13 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
    * Views: `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.
@@ -2380,36 +2042,24 @@ public int getGranularityValue() {
    * Views: `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() { + @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.valueOf(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.valueOf(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 @@ -2417,36 +2067,25 @@ 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() { @@ -2456,8 +2095,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder public static final int DELETION_PROTECTION_FIELD_NUMBER = 9; 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:
@@ -2468,7 +2105,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -2477,7 +2113,6 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2489,17 +2124,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) { @@ -2520,39 +2162,37 @@ 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 (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2562,22 +2202,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.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 (getDeletionProtection() != other.getDeletionProtection()) return false; + if (getDeletionProtection() + != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2606,109 +2251,104 @@ public int hashCode() { hash = (53 * hash) + getRestoreInfo().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.
@@ -2716,56 +2356,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();
@@ -2787,9 +2430,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
@@ -2830,39 +2473,38 @@ public com.google.bigtable.admin.v2.Table 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.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;
@@ -2875,8 +2517,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         name_ = other.name_;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
-      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
+      internalGetMutableClusterStates().mergeFrom(
+          other.internalGetClusterStates());
+      internalGetMutableColumnFamilies().mergeFrom(
+          other.internalGetColumnFamilies());
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
       }
@@ -2912,63 +2556,50 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                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());
-                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());
-                break;
-              } // case 26
-            case 32:
-              {
-                granularity_ = input.readEnum();
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              clusterStates__ = input.readMessage(
+                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableClusterStates().getMutableMap().put(
+                  clusterStates__.getKey(), clusterStates__.getValue());
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              columnFamilies__ = input.readMessage(
+                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableColumnFamilies().getMutableMap().put(
+                  columnFamilies__.getKey(), columnFamilies__.getValue());
+              break;
+            } // case 26
+            case 32: {
+              granularity_ = input.readEnum();
 
-                break;
-              } // case 32
-            case 50:
-              {
-                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 32
+            case 50: {
+              input.readMessage(
+                  getRestoreInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 50
-            case 72:
-              {
-                deletionProtection_ = input.readBool();
+              break;
+            } // case 50
+            case 72: {
+              deletionProtection_ = input.readBool();
 
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -2978,13 +2609,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]*`.
@@ -2992,13 +2620,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; @@ -3007,8 +2635,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]*`.
@@ -3016,14 +2642,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 { @@ -3031,8 +2658,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]*`.
@@ -3040,22 +2665,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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]*`.
@@ -3063,18 +2686,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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]*`.
@@ -3082,43 +2702,37 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } 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_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - internalGetMutableClusterStates() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableClusterStates() { + onChanged();; 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(); @@ -3130,8 +2744,6 @@ 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
@@ -3140,27 +2752,24 @@ 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
@@ -3169,18 +2778,14 @@ 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
@@ -3189,23 +2794,19 @@ 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 getClusterStatesOrDefault( - java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } + java.lang.String 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
@@ -3214,16 +2815,13 @@ public 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]; */ @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)) { @@ -3233,12 +2831,11 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public Builder clearClusterStates() { - 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
@@ -3247,26 +2844,25 @@ 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() { + getMutableClusterStates() { 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
@@ -3275,25 +2871,21 @@ 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"); - } + 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"); - } + throw new NullPointerException("map value"); +} - internalGetMutableClusterStates().getMutableMap().put(key, value); + internalGetMutableClusterStates().getMutableMap() + .put(key, value); 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
@@ -3302,38 +2894,32 @@ 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); 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> - internalGetColumnFamilies() { + 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( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - internalGetMutableColumnFamilies() { - onChanged(); - ; + private com.google.protobuf.MapField + internalGetMutableColumnFamilies() { + onChanged();; 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(); @@ -3345,8 +2931,6 @@ public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3354,23 +2938,22 @@ 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`, `FULL`
@@ -3379,13 +2962,11 @@ 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`, `FULL`
@@ -3394,18 +2975,16 @@ 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 getColumnFamiliesOrDefault(
-        java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+        java.lang.String 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`, `FULL`
@@ -3414,11 +2993,10 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
      * 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");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       if (!map.containsKey(key)) {
@@ -3428,12 +3006,11 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
     }
 
     public Builder clearColumnFamilies() {
-      internalGetMutableColumnFamilies().getMutableMap().clear();
+      internalGetMutableColumnFamilies().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3441,22 +3018,23 @@ 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() {
+    getMutableColumnFamilies() {
       return internalGetMutableColumnFamilies().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3465,20 +3043,18 @@ 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");
-      }
+        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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableColumnFamilies().getMutableMap().put(key, value);
+      internalGetMutableColumnFamilies().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3486,16 +3062,16 @@ public Builder putColumnFamilies(
      *
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
+
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      internalGetMutableColumnFamilies().getMutableMap().putAll(values);
+      internalGetMutableColumnFamilies().getMutableMap()
+          .putAll(values);
       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.
@@ -3503,19 +3079,13 @@ public Builder putAllColumnFamilies(
      * Views: `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.
@@ -3523,22 +3093,17 @@ public int getGranularityValue() {
      * Views: `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. */ public Builder setGranularityValue(int value) { - + granularity_ = value; onChanged(); return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3546,24 +3111,16 @@ public Builder setGranularityValue(int value) {
      * Views: `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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.valueOf(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.valueOf(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.
@@ -3571,10 +3128,7 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity()
      * Views: `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. */ @@ -3582,14 +3136,12 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul if (value == null) { throw new NullPointerException(); } - + granularity_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3597,14 +3149,11 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul
      * Views: `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() { - + granularity_ = 0; onChanged(); return this; @@ -3612,61 +3161,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 restoreInfoBuilder_ != null || 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. */ 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) { @@ -3682,16 +3212,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) { @@ -3705,24 +3231,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 (restoreInfo_ != null) { restoreInfo_ = - com.google.bigtable.admin.v2.RestoreInfo.newBuilder(restoreInfo_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.RestoreInfo.newBuilder(restoreInfo_).mergeFrom(value).buildPartial(); } else { restoreInfo_ = value; } @@ -3734,16 +3254,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() { if (restoreInfoBuilder_ == null) { @@ -3757,76 +3273,58 @@ 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() { - + onChanged(); 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_; } - 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:
@@ -3837,7 +3335,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -3845,8 +3342,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:
@@ -3857,19 +3352,16 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; - * * @param value The deletionProtection to set. * @return This builder for chaining. */ public Builder setDeletionProtection(boolean value) { - + deletionProtection_ = value; onChanged(); return this; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -3880,18 +3372,17 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; - * * @return This builder for chaining. */ public Builder clearDeletionProtection() { - + deletionProtection_ = false; 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); } @@ -3901,12 +3392,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(); } @@ -3915,27 +3406,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; @@ -3950,4 +3441,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 69% 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 d27cc5d252..c06a649c4e 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,19 +84,15 @@ 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
@@ -137,15 +101,13 @@ 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`, `FULL`
@@ -155,8 +117,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`, `FULL`
@@ -164,13 +124,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`, `FULL`
@@ -178,10 +140,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`, `FULL`
@@ -191,13 +152,11 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    */
 
   /* 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`, `FULL`
@@ -205,11 +164,11 @@ 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.
@@ -217,16 +176,11 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * Views: `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.
@@ -234,61 +188,42 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * Views: `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(); /** - * - * *
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -299,7 +234,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..d462896cee --- /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,294 @@ +// 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_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\"\216\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016" + + "cluster_states\030\002 \003(\01322.google.bigtable.a" + + "dmin.v2.Table.ClusterStatesEntryB\003\340A\003\022L\n" + + "\017column_families\030\003 \003(\01323.google.bigtable" + + ".admin.v2.Table.ColumnFamiliesEntry\022N\n\013g" + + "ranularity\030\004 \001(\01624.google.bigtable.admin" + + ".v2.Table.TimestampGranularityB\003\340A\005\022@\n\014r" + + "estore_info\030\006 \001(\0132%.google.bigtable.admi" + + "n.v2.RestoreInfoB\003\340A\003\022\033\n\023deletion_protec" + + "tion\030\t \001(\010\032\306\002\n\014ClusterState\022]\n\021replicati" + + "on_state\030\001 \001(\0162=.google.bigtable.admin.v" + + "2.Table.ClusterState.ReplicationStateB\003\340" + + "A\003\022F\n\017encryption_info\030\002 \003(\0132(.google.big" + + "table.admin.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020R" + + "eplicationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014" + + "INITIALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022" + + "\031\n\025UNPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n" + + "\020READY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntr" + + "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.b" + + "igtable.admin.v2.Table.ClusterState:\0028\001\032" + + "]\n\023ColumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005v" + + "alue\030\002 \001(\0132&.google.bigtable.admin.v2.Co" + + "lumnFamily:\0028\001\"I\n\024TimestampGranularity\022%" + + "\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n" + + "\006MILLIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022" + + "\r\n\tNAME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLI" + + "CATION_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FU" + + "LL\020\004:_\352A\\\n\"bigtableadmin.googleapis.com/" + + "Table\0226projects/{project}/instances/{ins" + + "tance}/tables/{table}\"A\n\014ColumnFamily\0221\n" + + "\007gc_rule\030\001 \001(\0132 .google.bigtable.admin.v" + + "2.GcRule\"\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.protob" + + "uf.DurationH\000\022E\n\014intersection\030\003 \001(\0132-.go" + + "ogle.bigtable.admin.v2.GcRule.Intersecti" + + "onH\000\0227\n\005union\030\004 \001(\0132&.google.bigtable.ad" + + "min.v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n" + + "\005rules\030\001 \003(\0132 .google.bigtable.admin.v2." + + "GcRule\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google." + + "bigtable.admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016Enc" + + "ryptionInfo\022U\n\017encryption_type\030\003 \001(\01627.g" + + "oogle.bigtable.admin.v2.EncryptionInfo.E" + + "ncryptionTypeB\003\340A\003\0222\n\021encryption_status\030" + + "\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\022I\n\017kms_ke" + + "y_version\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.google" + + "apis.com/CryptoKeyVersion\"q\n\016EncryptionT" + + "ype\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031" + + "GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_" + + "MANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004nam" + + "e\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.b" + + "igtable.admin.v2.Table\022\027\n\017data_size_byte" + + "s\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032." + + "google.protobuf.Timestamp\0227\n\005state\030\006 \001(\016" + + "2(.google.bigtable.admin.v2.Snapshot.Sta" + + "te\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STAT" + + "E_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{" + + "\352Ax\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\022Oprojects/{project}/instances/{instan" + + "ce}/clusters/{cluster}/snapshots/{snapsh" + + "ot}\"\237\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\034\n\014source_t" + + "able\030\002 \001(\tB\006\340A\005\340A\002\0224\n\013expire_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\002\0223\n\nstar" + + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A" + + "\003\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin" + + ".v2.Backup.StateB\003\340A\003\022F\n\017encryption_info" + + "\030\t \001(\0132(.google.bigtable.admin.v2.Encryp" + + "tionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#big" + + "tableadmin.googleapis.com/Backup\022Kprojec" + + "ts/{project}/instances/{instance}/cluste" + + "rs/{cluster}/backups/{backup}\"\244\001\n\nBackup" + + "Info\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\003 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003*D\n\021" + + "RestoreSourceType\022#\n\037RESTORE_SOURCE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.googl" + + "e.bigtable.admin.v2B\nTableProtoP\001Z=googl" + + "e.golang.org/genproto/googleapis/bigtabl" + + "e/admin/v2;admin\252\002\036Google.Cloud.Bigtable" + + ".Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\" + + "V2\352\002\"Google::Cloud::Bigtable::Admin::V2\352" + + "A\246\001\n(cloudkms.googleapis.com/CryptoKeyVe" + + "rsion\022zprojects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}/cryptoKeyVersions/{crypto_key" + + "_version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(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_Table_descriptor = + getDescriptor().getMessageTypes().get(1); + 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", "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(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + 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", }); + 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 71% 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 383ba6159a..3163ce25ac 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,57 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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 { @@ -120,14 +98,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 @@ -135,14 +110,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 @@ -150,8 +122,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -166,14 +136,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 @@ -181,14 +148,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 @@ -196,8 +160,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.
    * 
@@ -210,7 +172,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,10 +207,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; @@ -258,22 +222,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; @@ -302,103 +268,96 @@ 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].
@@ -406,32 +365,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();
@@ -453,9 +413,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
@@ -474,8 +434,7 @@ 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);
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result = new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -495,39 +454,38 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata 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.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 +493,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_;
         onChanged();
@@ -573,31 +530,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -610,20 +567,18 @@ public Builder mergeFrom(
 
     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; @@ -632,21 +587,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 { @@ -654,61 +608,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -716,33 +663,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -753,8 +691,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -775,15 +711,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(); onChanged(); @@ -794,8 +729,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -806,7 +739,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -818,8 +751,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -838,8 +769,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -847,13 +776,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -864,12 +791,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.
      * 
@@ -877,17 +803,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_; @@ -895,33 +818,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -932,8 +846,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -954,15 +866,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(); onChanged(); @@ -973,8 +884,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -985,7 +894,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -997,8 +906,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1017,8 +924,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1026,13 +931,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1043,12 +946,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.
      * 
@@ -1056,24 +958,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); } @@ -1083,12 +982,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(); } @@ -1097,27 +996,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; @@ -1132,4 +1031,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 11ec2851d4..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 63% 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 1416ee41cd..7376b2f223 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,61 +11,54 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -91,33 +67,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 { @@ -126,7 +100,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,7 +111,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -162,15 +136,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -190,103 +164,96 @@ 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]
@@ -294,32 +261,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();
@@ -329,9 +297,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
@@ -350,8 +318,7 @@ 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);
+      com.google.bigtable.admin.v2.UndeleteTableRequest result = new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -361,39 +328,38 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest 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.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;
@@ -401,8 +367,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_;
         onChanged();
@@ -433,19 +398,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+
+              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,24 +421,20 @@ public Builder mergeFrom(
 
     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; @@ -484,25 +443,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 { @@ -510,80 +466,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -593,12 +536,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(); } @@ -607,27 +550,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; @@ -642,4 +585,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 c8f33f9e7a..bcd214c21c 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,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -96,13 +78,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; @@ -121,136 +102,129 @@ 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(); @@ -258,9 +232,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 @@ -279,8 +253,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; } @@ -289,39 +262,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; @@ -329,8 +301,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; @@ -357,13 +328,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) { @@ -373,9 +343,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); } @@ -385,12 +355,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(); } @@ -399,27 +369,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; @@ -434,4 +404,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 66% 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 10c54caa1c..2c092289fa 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,83 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -85,34 +62,23 @@ 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() { @@ -122,16 +88,12 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() 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 @@ -139,16 +101,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 @@ -156,15 +114,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() { @@ -174,14 +129,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_; /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -190,7 +142,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (appProfile_ != null) { output.writeMessage(1, getAppProfile()); } @@ -222,13 +174,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; @@ -238,23 +193,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; } @@ -275,142 +232,137 @@ 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(); @@ -432,9 +384,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 @@ -453,8 +405,7 @@ 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); + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); if (appProfileBuilder_ == null) { result.appProfile_ = appProfile_; } else { @@ -474,39 +425,38 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest 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.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 +464,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 +500,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 24: - { - ignoreWarnings_ = input.readBool(); + break; + } // case 18 + case 24: { + ignoreWarnings_ = input.readBool(); - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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,58 +537,39 @@ public Builder mergeFrom( 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 appProfileBuilder_ != null || 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. */ 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) { @@ -655,17 +585,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(); onChanged(); @@ -676,23 +603,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 (appProfile_ != null) { appProfile_ = - com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_).mergeFrom(value).buildPartial(); } else { appProfile_ = value; } @@ -704,15 +625,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() { if (appProfileBuilder_ == null) { @@ -726,64 +643,48 @@ 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() { - + onChanged(); 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 +692,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 updateMaskBuilder_ != null || 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. */ 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 +743,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(); onChanged(); @@ -879,21 +762,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -905,15 +785,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() { if (updateMaskBuilder_ == null) { @@ -927,79 +804,63 @@ 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() { - + onChanged(); 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,43 +868,37 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); return this; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { - + ignoreWarnings_ = false; 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); } @@ -1053,12 +908,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(); } @@ -1067,27 +922,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; @@ -1102,4 +957,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 08e475ad27..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 a4311ef7bc..d8bee49881 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,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
@@ -77,9 +57,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 @@ -87,8 +65,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.
@@ -96,9 +72,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 @@ -106,8 +80,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.
@@ -115,8 +87,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() { @@ -126,8 +97,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
@@ -136,9 +105,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 @@ -146,8 +113,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
@@ -156,9 +121,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 @@ -166,8 +129,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
@@ -176,8 +137,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() { @@ -185,7 +145,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,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 (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -214,10 +174,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; @@ -227,21 +189,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; @@ -267,136 +230,130 @@ 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].
    * 
* * 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(); @@ -416,9 +373,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 @@ -437,8 +394,7 @@ 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); + com.google.bigtable.admin.v2.UpdateBackupRequest result = new com.google.bigtable.admin.v2.UpdateBackupRequest(this); if (backupBuilder_ == null) { result.backup_ = backup_; } else { @@ -457,39 +413,38 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest 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.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; @@ -497,8 +452,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()); } @@ -531,25 +485,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getBackupFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -562,13 +517,8 @@ public Builder mergeFrom( 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.
@@ -576,17 +526,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 backupBuilder_ != null || 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.
@@ -594,9 +540,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() { @@ -607,8 +551,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.
@@ -616,8 +558,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) { @@ -633,8 +574,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.
@@ -642,10 +581,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(); onChanged(); @@ -656,8 +595,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.
@@ -665,16 +602,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 (backup_ != null) { backup_ = - com.google.bigtable.admin.v2.Backup.newBuilder(backup_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); } else { backup_ = value; } @@ -686,8 +620,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.
@@ -695,8 +627,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() { if (backupBuilder_ == null) { @@ -710,8 +641,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.
@@ -719,17 +648,14 @@ 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() { - + onChanged(); 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.
@@ -737,19 +663,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.
@@ -757,21 +681,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_; @@ -779,13 +699,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
@@ -794,17 +709,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 updateMaskBuilder_ != null || 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
@@ -813,23 +724,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
@@ -838,8 +743,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) { @@ -855,8 +759,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
@@ -865,10 +767,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(); onChanged(); @@ -879,8 +781,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
@@ -889,14 +789,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -908,8 +807,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
@@ -918,8 +815,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() { if (updateMaskBuilder_ == null) { @@ -933,8 +829,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
@@ -943,17 +837,14 @@ 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() { - + onChanged(); 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
@@ -962,21 +853,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
@@ -985,28 +872,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); } @@ -1016,12 +899,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(); } @@ -1030,27 +913,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; @@ -1065,4 +948,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 40e8398743..d845257ec5 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -33,15 +15,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.
@@ -49,15 +27,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.
@@ -65,14 +39,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
@@ -81,15 +52,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
@@ -98,15 +65,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
@@ -115,8 +78,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 72% 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 87faae7b1c..71b093af76 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -116,14 +88,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder 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 @@ -131,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 @@ -146,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.
    * 
@@ -162,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 @@ -177,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 @@ -192,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.
    * 
@@ -206,7 +162,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,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()); } @@ -238,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; @@ -254,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.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; @@ -303,135 +264,129 @@ 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(); @@ -457,9 +412,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 @@ -478,8 +433,7 @@ 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); + com.google.bigtable.admin.v2.UpdateClusterMetadata result = new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -503,39 +457,38 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata 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.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; @@ -543,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()); } @@ -580,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -617,47 +571,34 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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 +619,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 +637,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -710,9 +647,7 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -724,8 +659,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -744,8 +677,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -753,13 +684,11 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.Cluster original_request = 1; */ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() { - + onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -770,14 +699,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.
      * 
@@ -785,17 +711,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_; @@ -803,47 +726,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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 +774,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(); onChanged(); @@ -883,8 +792,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -895,9 +802,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -909,8 +814,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -929,8 +832,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -938,13 +839,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -955,14 +854,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.
      * 
@@ -970,17 +866,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_; @@ -988,47 +881,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1049,15 +929,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(); onChanged(); @@ -1068,8 +947,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1080,7 +957,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -1092,8 +969,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1112,8 +987,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1121,13 +994,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1138,14 +1009,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.
      * 
@@ -1153,24 +1021,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); } @@ -1180,12 +1045,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(); } @@ -1194,27 +1059,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; @@ -1229,4 +1094,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 4122ab7dcc..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 71% 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 462d1afca9..5e6ed18aa7 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,25 +62,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.
    * 
@@ -109,22 +81,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() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { return getOriginalRequest(); } 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 @@ -132,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 @@ -147,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.
    * 
@@ -163,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 @@ -178,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 @@ -193,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.
    * 
@@ -207,7 +162,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,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()); } @@ -239,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; @@ -255,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.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; @@ -304,135 +264,129 @@ 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(); @@ -458,9 +412,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 @@ -479,8 +433,7 @@ 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); + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -504,39 +457,38 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata 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.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; @@ -544,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()); } @@ -581,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -618,55 +571,41 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** - * - * *
      * 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 +619,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -700,22 +637,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 (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder(originalRequest_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); } else { originalRequest_ = value; } @@ -727,8 +659,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -747,42 +677,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() { + 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.
      * 
@@ -790,17 +711,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_; @@ -808,47 +726,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 requestTimeBuilder_ != null || requestTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -869,15 +774,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(); onChanged(); @@ -888,8 +792,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -900,9 +802,7 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); } else { requestTime_ = value; } @@ -914,8 +814,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -934,8 +832,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -943,13 +839,11 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -960,14 +854,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.
      * 
@@ -975,17 +866,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_; @@ -993,47 +881,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 finishTimeBuilder_ != null || finishTime_ != null; } /** - * - * *
      * 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.
      * 
@@ -1054,15 +929,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(); onChanged(); @@ -1073,8 +947,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1085,7 +957,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -1097,8 +969,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1117,8 +987,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1126,13 +994,11 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1143,14 +1009,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.
      * 
@@ -1158,24 +1021,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); } @@ -1185,12 +1045,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(); } @@ -1199,27 +1059,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; @@ -1234,4 +1094,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 4191fb0e8e..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 71% 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 8a951e94b0..aa43396174 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,57 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -87,29 +65,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * 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 { @@ -120,14 +98,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 @@ -135,14 +110,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 @@ -150,8 +122,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -166,14 +136,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 @@ -181,14 +148,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 @@ -196,8 +160,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.
    * 
@@ -210,7 +172,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -245,10 +207,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; @@ -258,22 +222,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; @@ -301,104 +267,97 @@ 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].
@@ -406,32 +365,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();
@@ -453,9 +413,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
@@ -474,8 +434,7 @@ 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);
+      com.google.bigtable.admin.v2.UpdateTableMetadata result = new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -495,39 +454,38 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata 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.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 +493,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_;
         onChanged();
@@ -573,31 +530,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -610,20 +567,18 @@ public Builder mergeFrom(
 
     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; @@ -632,21 +587,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 { @@ -654,61 +608,54 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -716,33 +663,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 startTimeBuilder_ != null || startTime_ != null; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -753,8 +691,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -775,15 +711,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(); onChanged(); @@ -794,8 +729,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -806,7 +739,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -818,8 +751,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -838,8 +769,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -847,13 +776,11 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -864,12 +791,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.
      * 
@@ -877,17 +803,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_; @@ -895,33 +818,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 endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * 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() { @@ -932,8 +846,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -954,15 +866,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(); onChanged(); @@ -973,8 +884,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -985,7 +894,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -997,8 +906,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1017,8 +924,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1026,13 +931,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1043,12 +946,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.
      * 
@@ -1056,24 +958,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); } @@ -1083,12 +982,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(); } @@ -1097,27 +996,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; @@ -1132,4 +1031,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 734da4bb0d..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 b3a21906de..0dc05ff643 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The request for
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -28,57 +11,52 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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 @@ -86,16 +64,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 @@ -103,15 +77,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() { @@ -121,8 +92,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. `deletion_protection`) in the `table`
@@ -134,9 +103,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 @@ -144,8 +111,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -157,9 +122,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 @@ -167,8 +130,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. `deletion_protection`) in the `table`
@@ -180,8 +141,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() { @@ -189,7 +149,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -201,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -218,10 +178,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; @@ -231,21 +193,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; @@ -271,104 +234,97 @@ 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].
@@ -376,32 +332,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();
@@ -421,9 +378,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
@@ -442,8 +399,7 @@ 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);
+      com.google.bigtable.admin.v2.UpdateTableRequest result = new com.google.bigtable.admin.v2.UpdateTableRequest(this);
       if (tableBuilder_ == null) {
         result.table_ = table_;
       } else {
@@ -462,39 +418,38 @@ public com.google.bigtable.admin.v2.UpdateTableRequest 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.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;
@@ -502,8 +457,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());
       }
@@ -536,25 +490,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
+            case 10: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
 
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              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) {
@@ -567,37 +522,26 @@ public Builder mergeFrom(
 
     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 tableBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -608,15 +552,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) { @@ -632,17 +573,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(); onChanged(); @@ -653,21 +592,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 (table_ != null) { table_ = - com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -679,15 +615,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() { if (tableBuilder_ == null) { @@ -701,62 +634,51 @@ 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() { - + onChanged(); 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_; @@ -764,13 +686,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. `deletion_protection`) in the `table`
@@ -782,17 +699,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 updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -804,23 +717,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. `deletion_protection`) in the `table`
@@ -832,8 +739,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) { @@ -849,8 +755,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. `deletion_protection`) in the `table`
@@ -862,10 +766,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(); onChanged(); @@ -876,8 +780,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. `deletion_protection`) in the `table`
@@ -889,14 +791,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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -908,8 +809,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. `deletion_protection`) in the `table`
@@ -921,8 +820,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() { if (updateMaskBuilder_ == null) { @@ -936,8 +834,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -949,17 +845,14 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -971,21 +864,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. `deletion_protection`) in the `table`
@@ -997,28 +886,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); } @@ -1028,12 +913,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(); } @@ -1042,27 +927,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; @@ -1077,4 +962,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 75% 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 3ded387418..c6de15f22a 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. `deletion_protection`) in the `table`
@@ -78,15 +49,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. `deletion_protection`) in the `table`
@@ -98,15 +65,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. `deletion_protection`) in the `table`
@@ -118,8 +81,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..32eda4423a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,394 @@ +// 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_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; + + 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/wrappers.proto\032\027google/rpc/status.p" + + "roto\"\220\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" + + " \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.c" + + "om/Table\022\026\n\016app_profile_id\030\005 \001(\t\022(\n\004rows" + + "\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022-\n\006fi" + + "lter\030\003 \001(\0132\035.google.bigtable.v2.RowFilte" + + "r\022\022\n\nrows_limit\030\004 \001(\003\022P\n\022request_stats_v" + + "iew\030\006 \001(\01624.google.bigtable.v2.ReadRowsR" + + "equest.RequestStatsView\"f\n\020RequestStatsV" + + "iew\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000\022" + + "\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_STATS" + + "_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunks\030\001" + + " \003(\0132..google.bigtable.v2.ReadRowsRespon" + + "se.CellChunk\022\034\n\024last_scanned_row_key\030\002 \001" + + "(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bigta" + + "ble.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.google" + + ".protobuf.StringValue\022.\n\tqualifier\030\003 \001(\013" + + "2\033.google.protobuf.BytesValue\022\030\n\020timesta" + + "mp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value" + + "\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_sta" + + "tus\"n\n\024SampleRowKeysRequest\022>\n\ntable_nam" + + "e\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapi" + + "s.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025S" + + "ampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n" + + "\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest" + + "\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022\026\n\016app_profile_" + + "id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutati" + + "ons\030\003 \003(\0132\034.google.bigtable.v2.MutationB" + + "\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateRows" + + "Request\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\026\n\016app_p" + + "rofile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.googl" + + "e.bigtable.v2.MutateRowsRequest.EntryB\003\340" + + "A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutation" + + "s\030\002 \003(\0132\034.google.bigtable.v2.MutationB\003\340" + + "A\002\"\217\001\n\022MutateRowsResponse\022=\n\007entries\030\001 \003" + + "(\0132,.google.bigtable.v2.MutateRowsRespon" + + "se.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006stat" + + "us\030\002 \001(\0132\022.google.rpc.Status\"\256\002\n\030CheckAn" + + "dMutateRowRequest\022>\n\ntable_name\030\001 \001(\tB*\340" + + "A\002\372A$\n\"bigtableadmin.googleapis.com/Tabl" + + "e\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001" + + "(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035.goog" + + "le.bigtable.v2.RowFilter\0224\n\016true_mutatio" + + "ns\030\004 \003(\0132\034.google.bigtable.v2.Mutation\0225" + + "\n\017false_mutations\030\005 \003(\0132\034.google.bigtabl" + + "e.v2.Mutation\"6\n\031CheckAndMutateRowRespon" + + "se\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022PingAnd" + + "WarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigta" + + "bleadmin.googleapis.com/Instance\022\026\n\016app_" + + "profile_id\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"" + + "\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntable_n" + + "ame\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n" + + "\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.goo" + + "gle.bigtable.v2.ReadModifyWriteRuleB\003\340A\002" + + "\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001 " + + "\001(\0132\027.google.bigtable.v2.Row2\260\024\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\202\323\344\223\002>\"9/v2/{table_name=proj" + + "ects/*/instances/*/tables/*}:readRows:\001*" + + "\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=projec" + + "ts/*/instances/*/tables/*}\022\020\n\016app_profil" + + "e_id\332A\ntable_name\332A\031table_name,app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022" + + ">/v2/{table_name=projects/*/instances/*/" + + "tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_n" + + "ame\022,{table_name=projects/*/instances/*/" + + "tables/*}\022\020\n\016app_profile_id\332A\ntable_name" + + "\332A\031table_name,app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\202\323\344\223\002?\":/v2/{table_name=projects/*/i" + + "nstances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022" + + ":\n\ntable_name\022,{table_name=projects/*/in" + + "stances/*/tables/*}\022\020\n\016app_profile_id\332A\034" + + "table_name,row_key,mutations\332A+table_nam" + + "e,row_key,mutations,app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\202\323\344\223\002@\";/v2/{table_name=proje" + + "cts/*/instances/*/tables/*}:mutateRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id\332A\022table_name,entries\332A!table_name," + + "entries,app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\202\323\344\223\002G\"B/v2/{table" + + "_name=projects/*/instances/*/tables/*}:c" + + "heckAndMutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022" + + ",{table_name=projects/*/instances/*/tabl" + + "es/*}\022\020\n\016app_profile_id\332ABtable_name,row" + + "_key,predicate_filter,true_mutations,fal" + + "se_mutations\332AQtable_name,row_key,predic" + + "ate_filter,true_mutations,false_mutation" + + "s,app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\202\323\344\223" + + "\002+\"&/v2/{name=projects/*/instances/*}:pi" + + "ng:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=projects/*/in" + + "stances/*}\022\020\n\016app_profile_id\332A\004name\332A\023na" + + "me,app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\202\323\344\223\002H\"C/v2/{table_nam" + + "e=projects/*/instances/*/tables/*}:readM" + + "odifyWriteRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{t" + + "able_name=projects/*/instances/*/tables/" + + "*}\022\020\n\016app_profile_id\332A\030table_name,row_ke" + + "y,rules\332A\'table_name,row_key,rules,app_p" + + "rofile_id\032\333\002\312A\027bigtable.googleapis.com\322A" + + "\275\002https://www.googleapis.com/auth/bigtab" + + "le.data,https://www.googleapis.com/auth/" + + "bigtable.data.readonly,https://www.googl" + + "eapis.com/auth/cloud-bigtable.data,https" + + "://www.googleapis.com/auth/cloud-bigtabl" + + "e.data.readonly,https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/cloud-platform.read-onlyB" + + "\353\002\n\026com.google.bigtable.v2B\rBigtableProt" + + "oP\001Z:google.golang.org/genproto/googleap" + + "is/bigtable/v2;bigtable\252\002\030Google.Cloud.B" + + "igtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033" + + "Google::Cloud::Bigtable::V2\352AP\n%bigtable" + + "admin.googleapis.com/Instance\022\'projects/" + + "{project}/instances/{instance}\352A\\\n\"bigta" + + "bleadmin.googleapis.com/Table\0226projects/" + + "{project}/instances/{instance}/tables/{t" + + "able}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.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", }); + 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", }); + 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_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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", }); + 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.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 73% 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 d6b97cdc4b..b497e1773e 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,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -44,24 +26,25 @@ private Cell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cell(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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); } @@ -69,8 +52,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_; /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -81,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -92,8 +72,6 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -101,7 +79,6 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -112,42 +89,34 @@ public com.google.protobuf.ByteString getValue() { public static final int LABELS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList labels_; /** - * - * *
    * 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. */ @@ -155,23 +124,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; @@ -183,7 +149,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -203,10 +170,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; @@ -224,16 +193,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; } @@ -246,7 +218,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) { @@ -258,133 +231,130 @@ 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(); @@ -398,7 +368,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_Cell_descriptor; } @@ -435,39 +406,38 @@ public com.google.bigtable.v2.Cell 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.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell) other); + return mergeFrom((com.google.bigtable.v2.Cell)other); } else { super.mergeFrom(other); return this; @@ -518,32 +488,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampMicros_ = input.readInt64(); - - break; - } // case 8 - case 18: - { - value_ = input.readBytes(); - - 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(); + + break; + } // case 8 + case 18: { + value_ = input.readBytes(); + + 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) { @@ -553,13 +519,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.
@@ -570,7 +533,6 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -578,8 +540,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -590,19 +550,16 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -613,11 +570,10 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; @@ -625,8 +581,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
@@ -634,7 +588,6 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -642,8 +595,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
@@ -651,22 +602,19 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -674,62 +622,51 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } - private com.google.protobuf.LazyStringList labels_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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_.getUnmodifiableView(); } /** - * - * *
      * 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. */ @@ -737,90 +674,80 @@ 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) { + public Builder setLabels( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.set(index, value); onChanged(); 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) { + public Builder addLabels( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.add(value); onChanged(); 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_); 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() { @@ -830,30 +757,28 @@ public Builder clearLabels() { 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) { + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(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); } @@ -863,12 +788,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(); } @@ -877,27 +802,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; @@ -912,4 +837,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 8f09773a0f..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 59a0913d9c..9c9a620a94 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +29,40 @@ private CheckAndMutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
+   * 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 @@ -94,33 +71,32 @@ 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
+   * 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 { @@ -131,15 +107,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; 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 @@ -148,30 +121,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 { @@ -182,15 +155,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_; /** - * - * *
-   * Required. The key of the row to which the conditional mutation should be
-   * applied.
+   * 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 @@ -201,8 +170,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
@@ -211,7 +178,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -219,8 +185,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
@@ -229,18 +193,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
@@ -258,8 +217,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
   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
@@ -275,8 +232,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
@@ -288,13 +243,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
@@ -310,8 +263,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
@@ -327,8 +278,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
@@ -340,15 +289,14 @@ 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;
   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
@@ -364,8 +312,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
@@ -377,13 +323,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
@@ -399,8 +343,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
@@ -416,8 +358,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
@@ -429,12 +369,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;
@@ -446,7 +386,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -478,16 +419,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_);
@@ -500,23 +445,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;
   }
@@ -551,136 +501,130 @@ 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(); @@ -714,9 +658,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 @@ -735,8 +679,7 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -772,39 +715,38 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest 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.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -812,8 +754,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_; onChanged(); @@ -846,10 +787,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000001); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTrueMutationsFieldBuilder() - : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTrueMutationsFieldBuilder() : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -873,10 +813,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000002); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFalseMutationsFieldBuilder() - : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFalseMutationsFieldBuilder() : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -908,61 +847,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - - 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); - - break; - } // case 50 - case 58: - { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + + 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); + + break; + } // case 50 + case 58: { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -972,29 +910,25 @@ 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
+     * 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; @@ -1003,25 +937,23 @@ 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
+     * 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 { @@ -1029,73 +961,63 @@ 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
+     * 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * 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() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the conditional mutation
-     * should be applied. Values are of the form
+     * 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) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1103,21 +1025,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; @@ -1126,22 +1046,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 { @@ -1149,64 +1068,57 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -1214,15 +1126,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 conditional mutation should be
-     * applied.
+     * 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 @@ -1230,41 +1138,33 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
-     * Required. The key of the row to which the conditional mutation should be
-     * applied.
+     * 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The key of the row to which the conditional mutation should be
-     * applied.
+     * 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; @@ -1272,13 +1172,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
@@ -1287,15 +1182,12 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return predicateFilterBuilder_ != null || 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
@@ -1304,21 +1196,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
@@ -1342,8 +1229,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
@@ -1353,7 +1238,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();
         onChanged();
@@ -1364,8 +1250,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
@@ -1379,9 +1263,7 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
         if (predicateFilter_ != null) {
           predicateFilter_ =
-              com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_).mergeFrom(value).buildPartial();
         } else {
           predicateFilter_ = value;
         }
@@ -1393,8 +1275,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
@@ -1416,8 +1296,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
@@ -1428,13 +1306,11 @@ public Builder clearPredicateFilter() {
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
     public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
-
+      
       onChanged();
       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
@@ -1448,14 +1324,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
@@ -1466,41 +1339,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_ & 0x00000001) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     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
@@ -1519,8 +1383,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
@@ -1539,8 +1401,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
@@ -1559,8 +1419,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
@@ -1571,7 +1429,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();
@@ -1585,8 +1444,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
@@ -1609,8 +1466,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
@@ -1635,8 +1490,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
@@ -1647,7 +1500,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();
@@ -1661,8 +1515,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
@@ -1673,7 +1525,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());
@@ -1684,8 +1537,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
@@ -1708,8 +1559,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
@@ -1724,7 +1573,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);
@@ -1732,8 +1582,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
@@ -1755,8 +1603,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
@@ -1778,8 +1624,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
@@ -1790,12 +1634,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
@@ -1806,16 +1649,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
@@ -1826,8 +1667,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 {
@@ -1835,8 +1676,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
@@ -1848,12 +1687,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
@@ -1864,13 +1701,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
@@ -1881,21 +1717,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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1906,24 +1737,18 @@ public java.util.List getTrueMutationsB
     }
 
     private java.util.List falseMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFalseMutationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     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
@@ -1942,8 +1767,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
@@ -1962,8 +1785,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
@@ -1982,8 +1803,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
@@ -1994,7 +1813,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();
@@ -2008,8 +1828,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
@@ -2032,8 +1850,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
@@ -2058,8 +1874,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
@@ -2070,7 +1884,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();
@@ -2084,8 +1899,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
@@ -2096,7 +1909,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());
@@ -2107,8 +1921,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
@@ -2131,8 +1943,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
@@ -2147,7 +1957,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);
@@ -2155,8 +1966,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
@@ -2178,8 +1987,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
@@ -2201,8 +2008,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
@@ -2213,12 +2018,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
@@ -2229,16 +2033,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
@@ -2249,8 +2051,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 {
@@ -2258,8 +2060,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
@@ -2271,12 +2071,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
@@ -2287,13 +2085,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
@@ -2304,21 +2101,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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2327,9 +2119,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);
     }
 
@@ -2339,12 +2131,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();
   }
@@ -2353,27 +2145,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;
@@ -2388,4 +2180,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 83%
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 c39724cfff..ca38a69108 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,71 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
+   * 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
+   * 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.
+   * 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 +74,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 +86,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 +102,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 +112,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 +127,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 +139,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 +149,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 +162,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 +176,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 +191,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 +203,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 +213,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 +226,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 64%
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 038804e44b..533a948a1e 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,82 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * 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 @@ -85,7 +64,6 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,7 +75,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -111,7 +90,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; @@ -121,15 +101,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; } @@ -142,142 +122,137 @@ 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(); @@ -287,9 +262,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 @@ -308,8 +283,7 @@ 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); + com.google.bigtable.v2.CheckAndMutateRowResponse result = new com.google.bigtable.v2.CheckAndMutateRowResponse(this); result.predicateMatched_ = predicateMatched_; onBuilt(); return result; @@ -319,39 +293,38 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse 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.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -359,8 +332,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()); } @@ -390,19 +362,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - predicateMatched_ = input.readBool(); - - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + predicateMatched_ = input.readBool(); + + 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) { @@ -413,17 +383,14 @@ public Builder mergeFrom( return this; } - 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 @@ -431,45 +398,39 @@ 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. */ public Builder setPredicateMatched(boolean value) { - + predicateMatched_ = value; onChanged(); 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() { - + predicateMatched_ = false; 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); } @@ -479,12 +440,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(); } @@ -493,27 +454,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; @@ -528,4 +489,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 780f63da2d..ee5e91fce9 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,24 +27,25 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Column();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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);
   }
@@ -70,8 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString 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
@@ -81,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -92,8 +72,6 @@ public com.google.protobuf.ByteString getQualifier() { public static final int CELLS_FIELD_NUMBER = 2; private java.util.List cells_; /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -105,8 +83,6 @@ public java.util.List getCellsList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -114,12 +90,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".
    * 
@@ -131,8 +106,6 @@ public int getCellsCount() { return cells_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -144,8 +117,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".
    * 
@@ -153,12 +124,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; @@ -170,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -187,10 +159,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; @@ -200,15 +174,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; } @@ -231,103 +207,97 @@ 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.
@@ -335,30 +305,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();
@@ -375,7 +348,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;
     }
 
@@ -415,39 +389,38 @@ public com.google.bigtable.v2.Column 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.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column) other);
+        return mergeFrom((com.google.bigtable.v2.Column)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -477,10 +450,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cellsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCellsFieldBuilder()
-                    : null;
+            cellsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCellsFieldBuilder() : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -512,31 +484,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                qualifier_ = input.readBytes();
-
-                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();
+
+              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) {
@@ -546,13 +517,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
@@ -562,7 +530,6 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -570,8 +537,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
@@ -581,22 +546,19 @@ 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(); - } - + throw new NullPointerException(); + } + qualifier_ = value; 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
@@ -606,34 +568,28 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; - * * @return This builder for chaining. */ public Builder clearQualifier() { - + qualifier_ = getDefaultInstance().getQualifier(); onChanged(); 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_ & 0x00000001) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000001; - } + } } 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".
      * 
@@ -648,8 +604,6 @@ public java.util.List getCellsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -664,8 +618,6 @@ public int getCellsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -680,15 +632,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(); @@ -702,15 +653,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()); @@ -721,8 +671,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".
      * 
@@ -743,15 +691,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(); @@ -765,15 +712,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()); @@ -784,15 +730,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()); @@ -803,18 +748,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); @@ -822,8 +767,6 @@ public Builder addAllCells(java.lang.Iterable * Must not be empty. Sorted in order of decreasing "timestamp_micros". *
@@ -841,8 +784,6 @@ public Builder clearCells() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -860,43 +801,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 { @@ -904,8 +841,6 @@ public java.util.List getCellsOr } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -913,53 +848,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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -969,12 +900,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(); } @@ -983,27 +914,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; @@ -1018,4 +949,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 fc994bb813..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 a5da9d1288..f022eab36d 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,58 +13,53 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -97,38 +75,32 @@ 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;
   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;
     }
@@ -144,37 +116,31 @@ 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;
   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 @@ -183,29 +149,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 { @@ -215,14 +181,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 @@ -230,14 +193,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 @@ -250,14 +210,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 @@ -265,14 +222,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 @@ -285,14 +239,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 @@ -300,14 +251,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 @@ -320,14 +268,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 @@ -335,14 +280,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 @@ -354,7 +296,6 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -366,21 +307,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); } @@ -395,24 +341,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; @@ -422,21 +368,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: @@ -444,10 +393,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: @@ -494,103 +445,97 @@ 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
@@ -600,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();
@@ -639,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
@@ -684,39 +630,38 @@ public com.google.bigtable.v2.ColumnRange 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.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -730,36 +675,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();
@@ -787,43 +726,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -833,12 +766,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() {
@@ -850,9 +783,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() {
@@ -862,22 +796,21 @@ public Builder clearEndQualifier() {
       return this;
     }
 
+
     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; @@ -886,21 +819,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 { @@ -908,89 +840,76 @@ 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) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; } /** - * - * *
      * 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() { @@ -1000,35 +919,29 @@ 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(); - } - startQualifierCase_ = 2; + 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() { @@ -1041,28 +954,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() { @@ -1072,35 +979,29 @@ 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(); - } - startQualifierCase_ = 3; + 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() { @@ -1113,28 +1014,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() { @@ -1144,35 +1039,29 @@ 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(); - } - endQualifierCase_ = 4; + 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() { @@ -1185,28 +1074,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() { @@ -1216,35 +1099,29 @@ 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(); - } - endQualifierCase_ = 5; + 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() { @@ -1255,9 +1132,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); } @@ -1267,12 +1144,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(); } @@ -1281,27 +1158,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; @@ -1316,4 +1193,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 e94bae3d49..67918a5157 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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..e5e85c2674 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,319 @@ +// 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; + + 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\004ruleB\265\001\n\026com.google.bigtabl" + + "e.v2B\tDataProtoP\001Z:google.golang.org/gen" + + "proto/googleapis/bigtable/v2;bigtable\252\002\030" + + "Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\" + + "Bigtable\\V2\352\002\033Google::Cloud::Bigtable::V" + + "2b\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", }); + } + + // @@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 25e73be090..a03e12e7d3 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,24 +27,25 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Family();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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);
   }
@@ -70,8 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int NAME_FIELD_NUMBER = 1;
   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
@@ -82,7 +63,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,15 +71,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
@@ -110,15 +89,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 { @@ -129,8 +109,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COLUMNS_FIELD_NUMBER = 2; private java.util.List columns_; /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -142,8 +120,6 @@ public java.util.List getColumnsList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -151,13 +127,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".
    * 
@@ -169,8 +143,6 @@ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -182,8 +154,6 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -191,12 +161,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; @@ -208,7 +178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -228,7 +199,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; @@ -238,15 +210,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; } @@ -269,103 +243,97 @@ 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.
@@ -373,30 +341,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();
@@ -413,7 +384,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;
     }
 
@@ -453,39 +425,38 @@ public com.google.bigtable.v2.Family 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.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family) other);
+        return mergeFrom((com.google.bigtable.v2.Family)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -516,10 +487,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            columnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getColumnsFieldBuilder()
-                    : null;
+            columnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getColumnsFieldBuilder() : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -551,31 +521,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
+            case 10: {
+              name_ = input.readStringRequireUtf8();
 
-                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:
+              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) {
@@ -585,13 +554,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
@@ -602,13 +568,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; @@ -617,8 +583,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
@@ -629,14 +593,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 { @@ -644,8 +609,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
@@ -656,22 +619,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -682,18 +643,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -704,40 +662,34 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } 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".
      * 
@@ -752,8 +704,6 @@ public java.util.List getColumnsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -768,8 +718,6 @@ public int getColumnsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -784,15 +732,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(); @@ -806,15 +753,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()); @@ -825,8 +771,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".
      * 
@@ -847,15 +791,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(); @@ -869,15 +812,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()); @@ -888,15 +830,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()); @@ -907,8 +848,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".
      * 
@@ -919,7 +858,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); @@ -927,8 +867,6 @@ public Builder addAllColumns( return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -946,8 +884,6 @@ public Builder clearColumns() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -965,44 +901,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 { @@ -1010,8 +941,6 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -1019,54 +948,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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1076,12 +1000,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(); } @@ -1090,27 +1014,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; @@ -1125,4 +1049,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 7c90e78023..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/AllReadStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 51% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStats.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index b496bef86c..b48f040f5d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -1,75 +1,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
- * AllReadStats captures all known information about a read.
+ * FullReadStatsView captures all known information about a read.
  * 
* - * Protobuf type {@code google.bigtable.v2.AllReadStats} + * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class AllReadStats extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.AllReadStats) - AllReadStatsOrBuilder { - private static final long serialVersionUID = 0L; - // Use AllReadStats.newBuilder() to construct. - private AllReadStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { +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; + // Use FullReadStatsView.newBuilder() to construct. + private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AllReadStats() {} + private FullReadStatsView() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new AllReadStats(); + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new FullReadStatsView(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_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_AllReadStats_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.AllReadStats.class, - com.google.bigtable.v2.AllReadStats.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } - public static final int READ_ITERATOR_STATS_FIELD_NUMBER = 1; - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; + 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
@@ -77,17 +57,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return Whether the readIterationStats field is set. */ @java.lang.Override - public boolean hasReadIteratorStats() { - return readIteratorStats_ != null; + 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
@@ -95,19 +72,14 @@ public boolean hasReadIteratorStats() {
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return The readIterationStats. */ @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { + 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
@@ -115,25 +87,22 @@ public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() {
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - return getReadIteratorStats(); + public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() { + return getReadIterationStats(); } 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 @@ -141,26 +110,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.
@@ -174,7 +136,6 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -186,9 +147,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (readIteratorStats_ != null) {
-      output.writeMessage(1, getReadIteratorStats());
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (readIterationStats_ != null) {
+      output.writeMessage(1, getReadIterationStats());
     }
     if (requestLatencyStats_ != null) {
       output.writeMessage(2, getRequestLatencyStats());
@@ -202,11 +164,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (readIteratorStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIteratorStats());
+    if (readIterationStats_ != null) {
+      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;
@@ -216,20 +180,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.AllReadStats)) {
+    if (!(obj instanceof com.google.bigtable.v2.FullReadStatsView)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.AllReadStats other = (com.google.bigtable.v2.AllReadStats) obj;
+    com.google.bigtable.v2.FullReadStatsView other = (com.google.bigtable.v2.FullReadStatsView) obj;
 
-    if (hasReadIteratorStats() != other.hasReadIteratorStats()) return false;
-    if (hasReadIteratorStats()) {
-      if (!getReadIteratorStats().equals(other.getReadIteratorStats())) return false;
+    if (hasReadIterationStats() != other.hasReadIterationStats()) return false;
+    if (hasReadIterationStats()) {
+      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;
@@ -242,9 +208,9 @@ public int hashCode() {
     }
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
-    if (hasReadIteratorStats()) {
-      hash = (37 * hash) + READ_ITERATOR_STATS_FIELD_NUMBER;
-      hash = (53 * hash) + getReadIteratorStats().hashCode();
+    if (hasReadIterationStats()) {
+      hash = (37 * hash) + READ_ITERATION_STATS_FIELD_NUMBER;
+      hash = (53 * hash) + getReadIterationStats().hashCode();
     }
     if (hasRequestLatencyStats()) {
       hash = (37 * hash) + REQUEST_LATENCY_STATS_FIELD_NUMBER;
@@ -255,143 +221,138 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.AllReadStats 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.AllReadStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+  public static com.google.bigtable.v2.FullReadStatsView 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.AllReadStats parseFrom(com.google.protobuf.ByteString data)
+  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.AllReadStats parseFrom(
+  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.AllReadStats parseFrom(byte[] data)
+  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.AllReadStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+  public static com.google.bigtable.v2.FullReadStatsView parseFrom(
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.AllReadStats parseFrom(java.io.InputStream input)
+  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.AllReadStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+  public static com.google.bigtable.v2.FullReadStatsView parseFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.AllReadStats parseDelimitedFrom(java.io.InputStream 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);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.bigtable.v2.AllReadStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.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.AllReadStats parseFrom(
-      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)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
-  public static com.google.bigtable.v2.AllReadStats parseFrom(
+  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.AllReadStats prototype) {
+  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;
   }
   /**
-   *
-   *
    * 
-   * AllReadStats captures all known information about a read.
+   * FullReadStatsView captures all known information about a read.
    * 
* - * Protobuf type {@code google.bigtable.v2.AllReadStats} + * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.AllReadStats) - com.google.bigtable.v2.AllReadStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_descriptor; + 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; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.AllReadStats.class, - com.google.bigtable.v2.AllReadStats.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } - // Construct using com.google.bigtable.v2.AllReadStats.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.v2.FullReadStatsView.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(); - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = null; } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; + readIterationStats_ = null; + readIterationStatsBuilder_ = null; } if (requestLatencyStatsBuilder_ == null) { requestLatencyStats_ = null; @@ -403,19 +364,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_AllReadStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override - public com.google.bigtable.v2.AllReadStats getDefaultInstanceForType() { - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); + public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() { + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } @java.lang.Override - public com.google.bigtable.v2.AllReadStats build() { - com.google.bigtable.v2.AllReadStats result = buildPartial(); + public com.google.bigtable.v2.FullReadStatsView build() { + com.google.bigtable.v2.FullReadStatsView result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -423,12 +384,12 @@ public com.google.bigtable.v2.AllReadStats build() { } @java.lang.Override - public com.google.bigtable.v2.AllReadStats buildPartial() { - com.google.bigtable.v2.AllReadStats result = new com.google.bigtable.v2.AllReadStats(this); - if (readIteratorStatsBuilder_ == null) { - result.readIteratorStats_ = readIteratorStats_; + public com.google.bigtable.v2.FullReadStatsView buildPartial() { + com.google.bigtable.v2.FullReadStatsView result = new com.google.bigtable.v2.FullReadStatsView(this); + if (readIterationStatsBuilder_ == null) { + result.readIterationStats_ = readIterationStats_; } else { - result.readIteratorStats_ = readIteratorStatsBuilder_.build(); + result.readIterationStats_ = readIterationStatsBuilder_.build(); } if (requestLatencyStatsBuilder_ == null) { result.requestLatencyStats_ = requestLatencyStats_; @@ -443,49 +404,48 @@ public com.google.bigtable.v2.AllReadStats 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.AllReadStats) { - return mergeFrom((com.google.bigtable.v2.AllReadStats) other); + if (other instanceof com.google.bigtable.v2.FullReadStatsView) { + return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.v2.AllReadStats other) { - if (other == com.google.bigtable.v2.AllReadStats.getDefaultInstance()) return this; - if (other.hasReadIteratorStats()) { - mergeReadIteratorStats(other.getReadIteratorStats()); + public Builder mergeFrom(com.google.bigtable.v2.FullReadStatsView other) { + if (other == com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) return this; + if (other.hasReadIterationStats()) { + mergeReadIterationStats(other.getReadIterationStats()); } if (other.hasRequestLatencyStats()) { mergeRequestLatencyStats(other.getRequestLatencyStats()); @@ -516,27 +476,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getReadIteratorStatsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + break; + } // case 10 + case 18: { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -547,15 +506,10 @@ public Builder mergeFrom( return this; } - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; + private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - readIteratorStatsBuilder_; + 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
@@ -563,16 +517,13 @@ public Builder mergeFrom(
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return Whether the readIterationStats field is set. */ - public boolean hasReadIteratorStats() { - return readIteratorStatsBuilder_ != null || readIteratorStats_ != null; + public boolean hasReadIterationStats() { + return readIterationStatsBuilder_ != null || 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
@@ -580,22 +531,17 @@ public boolean hasReadIteratorStats() {
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return The readIterationStats. */ - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { + if (readIterationStatsBuilder_ == null) { + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } else { - return readIteratorStatsBuilder_.getMessage(); + 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
@@ -603,24 +549,22 @@ public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() {
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { + public Builder setReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) { + if (readIterationStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - readIteratorStats_ = value; + readIterationStats_ = value; onChanged(); } else { - readIteratorStatsBuilder_.setMessage(value); + readIterationStatsBuilder_.setMessage(value); } 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
@@ -628,22 +572,20 @@ public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats val
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder setReadIteratorStats( - com.google.bigtable.v2.ReadIteratorStats.Builder builderForValue) { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = builderForValue.build(); + public Builder setReadIterationStats( + com.google.bigtable.v2.ReadIterationStats.Builder builderForValue) { + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = builderForValue.build(); onChanged(); } else { - readIteratorStatsBuilder_.setMessage(builderForValue.build()); + readIterationStatsBuilder_.setMessage(builderForValue.build()); } 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
@@ -651,28 +593,24 @@ public Builder setReadIteratorStats(
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (readIteratorStats_ != null) { - readIteratorStats_ = - com.google.bigtable.v2.ReadIteratorStats.newBuilder(readIteratorStats_) - .mergeFrom(value) - .buildPartial(); + public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) { + if (readIterationStatsBuilder_ == null) { + if (readIterationStats_ != null) { + readIterationStats_ = + com.google.bigtable.v2.ReadIterationStats.newBuilder(readIterationStats_).mergeFrom(value).buildPartial(); } else { - readIteratorStats_ = value; + readIterationStats_ = value; } onChanged(); } else { - readIteratorStatsBuilder_.mergeFrom(value); + readIterationStatsBuilder_.mergeFrom(value); } 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
@@ -680,22 +618,20 @@ public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats v
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public Builder clearReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; + public Builder clearReadIterationStats() { + if (readIterationStatsBuilder_ == null) { + readIterationStats_ = null; onChanged(); } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; + readIterationStats_ = null; + readIterationStatsBuilder_ = null; } 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
@@ -703,16 +639,14 @@ public Builder clearReadIteratorStats() {
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuilder() { - + public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBuilder() { + onChanged(); - return getReadIteratorStatsFieldBuilder().getBuilder(); + 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
@@ -720,20 +654,17 @@ public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuil
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - if (readIteratorStatsBuilder_ != null) { - return readIteratorStatsBuilder_.getMessageOrBuilder(); + public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() { + if (readIterationStatsBuilder_ != null) { + return readIterationStatsBuilder_.getMessageOrBuilder(); } else { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; + 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
@@ -741,70 +672,54 @@ public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrB
      * better).
      * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - getReadIteratorStatsFieldBuilder() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder>( - getReadIteratorStats(), getParentForChildren(), isClean()); - readIteratorStats_ = null; + 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()); + readIterationStats_ = null; } - return readIteratorStatsBuilder_; + return readIterationStatsBuilder_; } 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 requestLatencyStatsBuilder_ != null || 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. */ 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.
@@ -826,8 +741,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.
@@ -847,8 +760,6 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -860,9 +771,7 @@ public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencySta
       if (requestLatencyStatsBuilder_ == null) {
         if (requestLatencyStats_ != null) {
           requestLatencyStats_ =
-              com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_).mergeFrom(value).buildPartial();
         } else {
           requestLatencyStats_ = value;
         }
@@ -874,8 +783,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.
@@ -895,8 +802,6 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -905,13 +810,11 @@ public Builder clearRequestLatencyStats() {
      * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
      */
     public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStatsBuilder() {
-
+      
       onChanged();
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -923,14 +826,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.
@@ -939,24 +839,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);
     }
 
@@ -966,53 +863,55 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-    // @@protoc_insertion_point(builder_scope:google.bigtable.v2.AllReadStats)
-  }
 
-  // @@protoc_insertion_point(class_scope:google.bigtable.v2.AllReadStats)
-  private static final com.google.bigtable.v2.AllReadStats DEFAULT_INSTANCE;
+    // @@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.AllReadStats();
+    DEFAULT_INSTANCE = new com.google.bigtable.v2.FullReadStatsView();
   }
 
-  public static com.google.bigtable.v2.AllReadStats getDefaultInstance() {
+  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 AllReadStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(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() {
+  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.AllReadStats getDefaultInstanceForType() {
+  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/AllReadStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
similarity index 62%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
index 7cd111af6d..1b0c49af90 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/AllReadStatsOrBuilder.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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface AllReadStatsOrBuilder
-    extends
-    // @@protoc_insertion_point(interface_extends:google.bigtable.v2.AllReadStats)
+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
@@ -33,14 +15,11 @@ public interface AllReadStatsOrBuilder
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return Whether the readIterationStats field is set. */ - boolean hasReadIteratorStats(); + 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
@@ -48,14 +27,11 @@ public interface AllReadStatsOrBuilder
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * @return The readIterationStats. */ - com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats(); + 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
@@ -63,39 +39,31 @@ public interface AllReadStatsOrBuilder
    * better).
    * 
* - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; + * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; */ - com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder(); + 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/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 60%
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 099d502744..dddd316597 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,45 +28,39 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
+   * 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 @@ -93,33 +69,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
+   * 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 { @@ -130,15 +104,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; 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 @@ -147,30 +118,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 { @@ -181,14 +152,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_; /** - * - * *
    * 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 @@ -199,94 +167,74 @@ public com.google.protobuf.ByteString getRowKey() { public static final int MUTATIONS_FIELD_NUMBER = 3; 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.
+   * 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.
+   * 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.
+   * 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.
+   * 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.
+   * 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; @@ -298,7 +246,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -324,10 +273,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_); @@ -340,17 +291,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; } @@ -377,136 +332,130 @@ 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(); @@ -527,9 +476,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 @@ -548,8 +497,7 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -571,39 +519,38 @@ public com.google.bigtable.v2.MutateRowRequest 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.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -641,10 +588,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -676,43 +622,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); + case 10: { + tableName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); - 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(); + 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(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -722,29 +665,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
+     * 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; @@ -753,25 +691,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
+     * 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 { @@ -779,73 +714,60 @@ 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
+     * 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * 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() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the mutation should be
-     * applied. Values are of the form
+     * 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) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -853,21 +775,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; @@ -876,22 +796,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 { @@ -899,64 +818,57 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -964,14 +876,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 @@ -979,72 +888,58 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.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.
+     * 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) { @@ -1054,17 +949,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.
+     * 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) { @@ -1074,17 +965,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.
+     * 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) { @@ -1094,19 +981,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.
+     * 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(); @@ -1120,17 +1004,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.
+     * 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) { @@ -1144,17 +1024,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.
+     * 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) { @@ -1170,19 +1046,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.
+     * 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(); @@ -1196,19 +1069,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.
+     * 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()); @@ -1219,17 +1089,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.
+     * 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) { @@ -1243,23 +1109,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.
+     * 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); @@ -1267,17 +1130,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.
+     * 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) { @@ -1290,17 +1149,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.
+     * 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) { @@ -1313,56 +1168,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.
+     * 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.
+     * 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.
+     * 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 { @@ -1370,75 +1214,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.
+     * 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.
+     * 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.
+     * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1448,12 +1279,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(); } @@ -1462,27 +1293,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; @@ -1497,4 +1328,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/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 new file mode 100644 index 0000000000..cf0e0a6ed9 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +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) = { ... } + * @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) = { ... } + * @return The bytes for tableName. + */ + 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(); + + /** + *
+   * 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]; + */ + 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]; + */ + 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]; + */ + 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]; + */ + 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]; + */ + 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 154c3818b9..c46712dfd9 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,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -96,7 +78,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); @@ -119,136 +101,130 @@ 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(); @@ -256,9 +232,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 @@ -277,8 +253,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; } @@ -287,39 +262,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; @@ -354,13 +328,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) { @@ -370,9 +343,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); } @@ -382,12 +355,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(); } @@ -396,27 +369,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; @@ -431,4 +404,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 64% 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 591aad76fd..d7ccd4676f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,138 +27,118 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
+     * 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.
+     * 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.
+     * 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.
+     * 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.
+     * 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(); @@ -184,41 +146,37 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -229,94 +187,79 @@ public com.google.protobuf.ByteString getRowKey() { public static final int MUTATIONS_FIELD_NUMBER = 2; 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.
+     * 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.
+     * 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.
+     * 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.
+     * 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.
+     * 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; @@ -328,7 +271,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -345,10 +289,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; @@ -358,16 +304,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; } @@ -390,94 +337,88 @@ 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 @@ -487,41 +428,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(); @@ -538,9 +477,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 @@ -559,8 +498,7 @@ 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); int from_bitField0_ = bitField0_; result.rowKey_ = rowKey_; if (mutationsBuilder_ == null) { @@ -580,41 +518,38 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry 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.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; @@ -622,8 +557,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()); } @@ -645,10 +579,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -680,32 +613,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - - 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(); + + 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) { @@ -715,19 +646,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 @@ -735,72 +662,59 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.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.
+       * 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) { @@ -810,17 +724,14 @@ 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.
+       * 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) { @@ -830,17 +741,14 @@ 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.
+       * 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) { @@ -850,19 +758,17 @@ 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.
+       * 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(); @@ -876,17 +782,14 @@ 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.
+       * 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) { @@ -900,17 +803,14 @@ 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.
+       * 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) { @@ -926,19 +826,17 @@ 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.
+       * 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(); @@ -952,19 +850,17 @@ 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.
+       * 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()); @@ -975,17 +871,14 @@ 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.
+       * 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) { @@ -999,23 +892,21 @@ 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.
+       * 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); @@ -1023,17 +914,14 @@ 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.
+       * 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) { @@ -1046,17 +934,14 @@ 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.
+       * 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) { @@ -1069,56 +954,48 @@ 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.
+       * 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.
+       * 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.
+       * 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 { @@ -1126,73 +1003,62 @@ 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.
+       * 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.
+       * 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.
+       * 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_ & 0x00000001) != 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_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1205,12 +1071,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(); } @@ -1219,28 +1085,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; @@ -1255,22 +1120,17 @@ 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; private volatile java.lang.Object tableName_; /** - * - * *
-   * Required. The unique name of the table to which the mutations should be
-   * applied.
+   * 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 @@ -1279,32 +1139,29 @@ 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.
+   * 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 { @@ -1315,15 +1172,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; 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 @@ -1332,30 +1186,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 { @@ -1366,8 +1220,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ENTRIES_FIELD_NUMBER = 2; 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
@@ -1376,17 +1228,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
@@ -1395,18 +1243,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
@@ -1415,17 +1259,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
@@ -1434,17 +1274,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
@@ -1453,17 +1289,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; @@ -1475,7 +1309,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1498,7 +1333,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_); @@ -1511,16 +1347,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; } @@ -1545,136 +1384,130 @@ 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(); @@ -1693,9 +1526,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 @@ -1714,8 +1547,7 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -1736,39 +1568,38 @@ public com.google.bigtable.v2.MutateRowsRequest 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.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -1803,10 +1634,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest 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_); } @@ -1838,38 +1668,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); + case 10: { + tableName_ = input.readStringRequireUtf8(); - 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(); + 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(); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1879,28 +1706,22 @@ 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.
+     * 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; @@ -1909,24 +1730,20 @@ public java.lang.String getTableName() { } } /** - * - * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * 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 { @@ -1934,70 +1751,54 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * 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() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** - * - * *
-     * Required. The unique name of the table to which the mutations should be
-     * applied.
+     * 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) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -2005,21 +1806,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; @@ -2028,22 +1827,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 { @@ -2051,89 +1849,75 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; } 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.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
@@ -2142,9 +1926,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) { @@ -2154,8 +1936,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
@@ -2164,9 +1944,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) { @@ -2176,8 +1954,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
@@ -2186,9 +1962,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) { @@ -2198,8 +1972,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
@@ -2208,11 +1980,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(); @@ -2226,8 +1997,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
@@ -2236,9 +2005,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) { @@ -2252,8 +2019,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
@@ -2262,9 +2027,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) { @@ -2280,8 +2043,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
@@ -2290,11 +2051,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(); @@ -2308,8 +2068,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
@@ -2318,9 +2076,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) { @@ -2334,8 +2090,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
@@ -2344,9 +2098,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) { @@ -2360,8 +2112,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,15 +2120,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); @@ -2386,8 +2135,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
@@ -2396,9 +2143,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) { @@ -2411,8 +2156,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
@@ -2421,9 +2164,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) { @@ -2436,8 +2177,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
@@ -2446,16 +2185,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
@@ -2464,20 +2200,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
@@ -2486,12 +2218,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 { @@ -2499,8 +2229,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
@@ -2509,17 +2237,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
@@ -2528,17 +2252,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
@@ -2547,34 +2268,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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -2584,12 +2300,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(); } @@ -2598,27 +2314,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; @@ -2633,4 +2349,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 62% 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 483d0f714f..d62c9d8635 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,55 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
+   * 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.
+   * 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 +58,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 +71,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 +83,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 +95,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 +108,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 783b6f4faa..77f0dd68f0 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,94 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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
@@ -97,13 +72,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
@@ -112,13 +84,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
@@ -131,64 +100,58 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
      * 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 @@ -199,8 +162,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
@@ -209,7 +170,6 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -217,8 +177,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
@@ -227,7 +185,6 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -235,8 +192,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
@@ -252,7 +207,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -264,7 +218,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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_);
       }
@@ -281,10 +236,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;
@@ -294,18 +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.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;
@@ -319,7 +277,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();
@@ -330,93 +289,87 @@ 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
@@ -426,41 +379,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(); @@ -476,9 +427,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 @@ -497,8 +448,7 @@ 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); + com.google.bigtable.v2.MutateRowsResponse.Entry result = new com.google.bigtable.v2.MutateRowsResponse.Entry(this); result.index_ = index_; if (statusBuilder_ == null) { result.status_ = status_; @@ -513,41 +463,38 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry 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.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; @@ -555,8 +502,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()); } @@ -589,25 +535,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt64(); - - break; - } // case 8 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt64(); + + break; + } // case 8 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + + 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) { @@ -618,17 +563,14 @@ public Builder mergeFrom( return this; } - 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 @@ -636,38 +578,32 @@ 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. */ public Builder setIndex(long value) { - + index_ = value; onChanged(); 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() { - + index_ = 0L; onChanged(); return this; @@ -675,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
@@ -688,15 +621,12 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -705,7 +635,6 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -716,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
@@ -741,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
@@ -752,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();
           onChanged();
@@ -763,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
@@ -777,7 +701,8 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ =
+              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -789,8 +714,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
@@ -824,13 +745,11 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-
+        
         onChanged();
         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,13 +851,12 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -953,8 +868,6 @@ public java.util.List getEntrie return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -962,13 +875,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.
    * 
@@ -980,8 +891,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -993,8 +902,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.
    * 
@@ -1002,12 +909,12 @@ 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); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1019,7 +926,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1033,7 +941,8 @@ 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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1043,15 +952,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1072,136 +981,130 @@ 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() - 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(); @@ -1216,9 +1119,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 @@ -1237,8 +1140,7 @@ 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); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1257,39 +1159,38 @@ public com.google.bigtable.v2.MutateRowsResponse 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.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -1316,10 +1217,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_); } @@ -1351,27 +1251,25 @@ 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 - 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 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1381,29 +1279,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.
      * 
@@ -1418,8 +1308,6 @@ public java.util.List getEntrie } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1434,8 +1322,6 @@ public int getEntriesCount() { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1450,15 +1336,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(); @@ -1472,8 +1357,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1492,8 +1375,6 @@ public Builder setEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1514,15 +1395,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(); @@ -1536,8 +1416,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1556,8 +1434,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1576,8 +1452,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1588,7 +1462,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); @@ -1596,8 +1471,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1615,8 +1488,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1634,44 +1505,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 { @@ -1679,8 +1545,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1688,55 +1552,49 @@ 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_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1746,12 +1604,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(); } @@ -1760,27 +1618,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; @@ -1795,4 +1653,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 66% 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 ca4b764ba7..aebed5ae99 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,24 +33,21 @@ 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); } 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 177339dfa8..eff4a5073b 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,117 +1,90 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
@@ -121,43 +94,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; @@ -166,42 +132,38 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetCell(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -210,30 +172,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 { @@ -244,15 +206,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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; - * * @return The columnQualifier. */ @java.lang.Override @@ -263,8 +222,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_; /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -274,7 +231,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -285,14 +241,11 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_; /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -301,7 +254,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,7 +265,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -339,13 +292,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; @@ -355,17 +311,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; } @@ -382,7 +342,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(); @@ -390,94 +351,88 @@ 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 @@ -487,41 +442,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(); @@ -537,9 +490,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 @@ -558,8 +511,7 @@ 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); + com.google.bigtable.v2.Mutation.SetCell result = new com.google.bigtable.v2.Mutation.SetCell(this); result.familyName_ = familyName_; result.columnQualifier_ = columnQualifier_; result.timestampMicros_ = timestampMicros_; @@ -572,41 +524,38 @@ public com.google.bigtable.v2.Mutation.SetCell 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.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; @@ -654,37 +603,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - columnQualifier_ = input.readBytes(); - - break; - } // case 18 - case 24: - { - timestampMicros_ = input.readInt64(); - - break; - } // case 24 - case 34: - { - value_ = input.readBytes(); - - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + columnQualifier_ = input.readBytes(); + + break; + } // case 18 + case 24: { + timestampMicros_ = input.readInt64(); + + break; + } // case 24 + case 34: { + value_ = input.readBytes(); + + 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) { @@ -697,21 +641,19 @@ public Builder mergeFrom( 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; @@ -720,22 +662,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 { @@ -743,81 +684,70 @@ 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) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); 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; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); 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 @@ -825,50 +755,42 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; 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() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); 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.
@@ -878,7 +800,6 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -886,8 +807,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.
@@ -897,19 +816,16 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -919,11 +835,10 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; @@ -931,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 @@ -946,44 +858,37 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -996,12 +901,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(); } @@ -1010,28 +915,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; @@ -1046,81 +950,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.
      * 
@@ -1130,8 +1018,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.
@@ -1139,16 +1025,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;
@@ -1156,42 +1041,38 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     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 @@ -1200,30 +1081,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 { @@ -1234,15 +1115,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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; - * * @return The columnQualifier. */ @java.lang.Override @@ -1253,14 +1131,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 @@ -1268,25 +1143,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.
      * 
@@ -1299,7 +1167,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1311,7 +1178,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1334,10 +1202,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; @@ -1347,19 +1217,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; @@ -1386,93 +1258,87 @@ 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 @@ -1482,8 +1348,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1491,33 +1355,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();
@@ -1535,9 +1399,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
@@ -1556,8 +1420,7 @@ 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);
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result = new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
         result.familyName_ = familyName_;
         result.columnQualifier_ = columnQualifier_;
         if (timeRangeBuilder_ == null) {
@@ -1573,41 +1436,38 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn 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.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;
@@ -1615,8 +1475,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_;
           onChanged();
@@ -1653,31 +1512,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  familyName_ = input.readStringRequireUtf8();
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  columnQualifier_ = input.readBytes();
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                familyName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+              case 18: {
+                columnQualifier_ = input.readBytes();
+
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getTimeRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                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) {
@@ -1690,21 +1547,19 @@ public Builder mergeFrom(
 
       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; @@ -1713,22 +1568,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 { @@ -1736,81 +1590,70 @@ 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) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); 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 @@ -1818,41 +1661,35 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; 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() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); return this; @@ -1860,47 +1697,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 timeRangeBuilder_ != null || timeRange_ != null; } /** - * - * *
        * 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.
        * 
@@ -1921,15 +1745,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(); onChanged(); @@ -1940,8 +1763,6 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1952,9 +1773,7 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { if (timeRange_ != null) { timeRange_ = - com.google.bigtable.v2.TimestampRange.newBuilder(timeRange_) - .mergeFrom(value) - .buildPartial(); + com.google.bigtable.v2.TimestampRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); } else { timeRange_ = value; } @@ -1966,8 +1785,6 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1986,8 +1803,6 @@ public Builder clearTimeRange() { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1995,13 +1810,11 @@ public Builder clearTimeRange() { * .google.bigtable.v2.TimestampRange time_range = 3; */ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { - + onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2012,14 +1825,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.
        * 
@@ -2027,22 +1837,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) { @@ -2055,12 +1861,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(); } @@ -2069,28 +1875,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; @@ -2105,101 +1910,89 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -2208,30 +2001,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 { @@ -2240,7 +2033,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2252,7 +2044,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2276,15 +2069,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; } @@ -2304,93 +2097,87 @@ 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 @@ -2400,41 +2187,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(); @@ -2444,9 +2229,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 @@ -2465,8 +2250,7 @@ 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); + com.google.bigtable.v2.Mutation.DeleteFromFamily result = new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); result.familyName_ = familyName_; onBuilt(); return result; @@ -2476,41 +2260,38 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily 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.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; @@ -2518,8 +2299,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_; onChanged(); @@ -2550,19 +2330,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + + 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) { @@ -2575,21 +2353,19 @@ public Builder mergeFrom( 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; @@ -2598,22 +2374,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 { @@ -2621,69 +2396,61 @@ 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) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2696,12 +2463,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(); } @@ -2710,28 +2477,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; @@ -2746,61 +2512,58 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -2812,7 +2575,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2830,13 +2594,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; @@ -2854,94 +2617,88 @@ 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 @@ -2951,41 +2708,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(); @@ -2993,9 +2748,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 @@ -3014,8 +2769,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; } @@ -3024,41 +2778,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; @@ -3066,8 +2817,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; @@ -3094,13 +2844,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) { @@ -3110,7 +2859,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3123,12 +2871,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(); } @@ -3137,28 +2885,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; @@ -3173,14 +2920,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int mutationCase_ = 0; 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), @@ -3188,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; } @@ -3204,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 @@ -3245,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.
    * 
@@ -3274,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 @@ -3296,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.
    * 
@@ -3325,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 @@ -3347,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.
    * 
@@ -3376,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 @@ -3398,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.
    * 
@@ -3427,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; @@ -3445,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_); } @@ -3468,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; @@ -3495,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); @@ -3505,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: @@ -3555,134 +3263,130 @@ 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(); @@ -3704,9 +3408,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 @@ -3763,39 +3467,38 @@ public com.google.bigtable.v2.Mutation 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.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation) other); + return mergeFrom((com.google.bigtable.v2.Mutation)other); } else { super.mergeFrom(other); return this; @@ -3805,30 +3508,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(); @@ -3856,39 +3554,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) { @@ -3898,12 +3597,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() { @@ -3913,20 +3612,15 @@ public Builder clearMutation() { return this; } + 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 @@ -3934,14 +3628,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 @@ -3959,8 +3650,6 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -3981,15 +3670,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(); @@ -4000,8 +3688,6 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4010,13 +3696,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; } @@ -4032,8 +3715,6 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4057,8 +3738,6 @@ public Builder clearSetCell() { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4069,8 +3748,6 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** - * - * *
      * Set a cell's value.
      * 
@@ -4089,8 +3766,6 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4098,44 +3773,32 @@ 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()); mutation_ = null; } mutationCase_ = 1; - onChanged(); - ; + onChanged();; return setCellBuilder_; } 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 @@ -4143,14 +3806,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 @@ -4168,8 +3828,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4190,8 +3848,6 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4210,8 +3866,6 @@ public Builder setDeleteFromColumn( return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4220,13 +3874,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; } @@ -4242,8 +3893,6 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4267,8 +3916,6 @@ public Builder clearDeleteFromColumn() { return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4279,8 +3926,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4288,8 +3933,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 { @@ -4300,8 +3944,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4309,44 +3951,32 @@ 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()); mutation_ = null; } mutationCase_ = 2; - onChanged(); - ; + onChanged();; return deleteFromColumnBuilder_; } 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 @@ -4354,14 +3984,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 @@ -4379,8 +4006,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4401,8 +4026,6 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4421,8 +4044,6 @@ public Builder setDeleteFromFamily( return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4431,13 +4052,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; } @@ -4453,8 +4071,6 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4478,8 +4094,6 @@ public Builder clearDeleteFromFamily() { return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4490,8 +4104,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4499,8 +4111,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 { @@ -4511,8 +4122,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4520,44 +4129,32 @@ 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()); mutation_ = null; } mutationCase_ = 3; - onChanged(); - ; + onChanged();; return deleteFromFamilyBuilder_; } 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 @@ -4565,14 +4162,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 @@ -4590,8 +4184,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4612,8 +4204,6 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4632,8 +4222,6 @@ public Builder setDeleteFromRow( return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4642,13 +4230,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; } @@ -4664,8 +4249,6 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4689,8 +4272,6 @@ public Builder clearDeleteFromRow() { return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4701,8 +4282,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4721,8 +4300,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4730,32 +4307,26 @@ 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()); mutation_ = null; } mutationCase_ = 4; - onChanged(); - ; + 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); } @@ -4765,12 +4336,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(); } @@ -4779,27 +4350,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; @@ -4814,4 +4385,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 61a6bb4cce..917f5c2315 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 62% 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 cbff08ec02..eed8c682bf 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +26,38 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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>`.
+   * 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 @@ -91,33 +66,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 check permissions for as well
-   * as respond. Values are of the form
-   * `projects/<project>/instances/<instance>`.
+   * 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 { @@ -128,15 +100,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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 @@ -145,30 +114,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 { @@ -177,7 +146,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,16 +188,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; } @@ -249,136 +219,130 @@ 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(); @@ -390,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 @@ -411,8 +375,7 @@ 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); + com.google.bigtable.v2.PingAndWarmRequest result = new com.google.bigtable.v2.PingAndWarmRequest(this); result.name_ = name_; result.appProfileId_ = appProfileId_; onBuilt(); @@ -423,39 +386,38 @@ public com.google.bigtable.v2.PingAndWarmRequest 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.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); } else { super.mergeFrom(other); return this; @@ -498,25 +460,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -529,24 +488,19 @@ public Builder mergeFrom( 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>`.
+     * 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; @@ -555,25 +509,21 @@ 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>`.
+     * 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 { @@ -581,73 +531,57 @@ 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>`.
+     * 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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>`.
+     * 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() { - + name_ = getDefaultInstance().getName(); 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>`.
+     * 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -655,21 +589,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; @@ -678,22 +610,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 { @@ -701,71 +632,64 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = 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); } @@ -775,12 +699,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(); } @@ -789,27 +713,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; @@ -824,4 +748,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/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 new file mode 100644 index 0000000000..74df7590e3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -0,0 +1,53 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +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) = { ... } + * @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) = { ... } + * @return The bytes for name. + */ + 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(); +} 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 80eb3431fb..cd66ea91ef 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,72 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; @@ -78,7 +59,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -96,13 +78,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; @@ -120,136 +101,130 @@ 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(); @@ -257,9 +232,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 @@ -278,8 +253,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; } @@ -288,39 +262,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; @@ -355,13 +328,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) { @@ -371,9 +343,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); } @@ -383,12 +355,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(); } @@ -397,27 +369,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; @@ -432,4 +404,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/ReadIteratorStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 52% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index 392aee12be..5b5bc09842 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -1,84 +1,63 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
- * ReadIteratorStats captures information about the iteration of rows or cells
+ * 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
  * operation versus the results returned.
  * 
* - * Protobuf type {@code google.bigtable.v2.ReadIteratorStats} + * Protobuf type {@code google.bigtable.v2.ReadIterationStats} */ -public final class ReadIteratorStats extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIteratorStats) - ReadIteratorStatsOrBuilder { - private static final long serialVersionUID = 0L; - // Use ReadIteratorStats.newBuilder() to construct. - private ReadIteratorStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { +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; + // Use ReadIterationStats.newBuilder() to construct. + private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadIteratorStats() {} + private ReadIterationStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReadIteratorStats(); + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ReadIterationStats(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_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_ReadIteratorStats_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadIteratorStats.class, - com.google.bigtable.v2.ReadIteratorStats.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_; /** - * - * *
    * 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 @@ -89,14 +68,11 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_; /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -107,15 +83,12 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; 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 @@ -126,14 +99,11 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_; /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -141,26 +111,7 @@ public long getCellsReturnedCount() { return cellsReturnedCount_; } - public static final int DELETES_SEEN_COUNT_FIELD_NUMBER = 5; - private long deletesSeenCount_; - /** - * - * - *
-   * The deletes seen as part of the request.
-   * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ - @java.lang.Override - public long getDeletesSeenCount() { - return deletesSeenCount_; - } - private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,7 +123,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowsSeenCount_ != 0L) { output.writeInt64(1, rowsSeenCount_); } @@ -185,9 +137,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (cellsReturnedCount_ != 0L) { output.writeInt64(4, cellsReturnedCount_); } - if (deletesSeenCount_ != 0L) { - output.writeInt64(5, deletesSeenCount_); - } getUnknownFields().writeTo(output); } @@ -198,19 +147,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_); - } - if (deletesSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, deletesSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, cellsReturnedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -220,18 +170,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.ReadIteratorStats)) { + if (!(obj instanceof com.google.bigtable.v2.ReadIterationStats)) { return super.equals(obj); } - com.google.bigtable.v2.ReadIteratorStats other = (com.google.bigtable.v2.ReadIteratorStats) 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 (getDeletesSeenCount() != other.getDeletesSeenCount()) 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; } @@ -244,152 +197,148 @@ 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 = (37 * hash) + DELETES_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDeletesSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsReturnedCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadIteratorStats 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.ReadIteratorStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + public static com.google.bigtable.v2.ReadIterationStats 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.ReadIteratorStats parseFrom( + 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.ReadIteratorStats parseFrom( + 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.ReadIteratorStats parseFrom(byte[] data) + 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.ReadIteratorStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + public static com.google.bigtable.v2.ReadIterationStats parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadIteratorStats parseFrom(java.io.InputStream input) + 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.ReadIteratorStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + public static com.google.bigtable.v2.ReadIterationStats parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.ReadIteratorStats 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.ReadIteratorStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.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.ReadIteratorStats parseFrom( - 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) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadIteratorStats parseFrom( + 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.ReadIteratorStats prototype) { + 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; } /** - * - * *
-   * ReadIteratorStats captures information about the iteration of rows or cells
+   * 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
    * operation versus the results returned.
    * 
* - * Protobuf type {@code google.bigtable.v2.ReadIteratorStats} + * Protobuf type {@code google.bigtable.v2.ReadIterationStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIteratorStats) - com.google.bigtable.v2.ReadIteratorStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + 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; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadIteratorStats.class, - com.google.bigtable.v2.ReadIteratorStats.Builder.class); + com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class); } - // Construct using com.google.bigtable.v2.ReadIteratorStats.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.v2.ReadIterationStats.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(); @@ -401,25 +350,23 @@ public Builder clear() { cellsReturnedCount_ = 0L; - deletesSeenCount_ = 0L; - return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadIteratorStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getDefaultInstanceForType() { - return com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance(); + public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { + return com.google.bigtable.v2.ReadIterationStats.getDefaultInstance(); } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats build() { - com.google.bigtable.v2.ReadIteratorStats result = buildPartial(); + public com.google.bigtable.v2.ReadIterationStats build() { + com.google.bigtable.v2.ReadIterationStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -427,14 +374,12 @@ public com.google.bigtable.v2.ReadIteratorStats build() { } @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats buildPartial() { - com.google.bigtable.v2.ReadIteratorStats result = - new com.google.bigtable.v2.ReadIteratorStats(this); + public com.google.bigtable.v2.ReadIterationStats buildPartial() { + com.google.bigtable.v2.ReadIterationStats result = new com.google.bigtable.v2.ReadIterationStats(this); result.rowsSeenCount_ = rowsSeenCount_; result.rowsReturnedCount_ = rowsReturnedCount_; result.cellsSeenCount_ = cellsSeenCount_; result.cellsReturnedCount_ = cellsReturnedCount_; - result.deletesSeenCount_ = deletesSeenCount_; onBuilt(); return result; } @@ -443,47 +388,46 @@ public com.google.bigtable.v2.ReadIteratorStats 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.ReadIteratorStats) { - return mergeFrom((com.google.bigtable.v2.ReadIteratorStats) other); + if (other instanceof com.google.bigtable.v2.ReadIterationStats) { + return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.bigtable.v2.ReadIteratorStats other) { - if (other == com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.v2.ReadIterationStats other) { + if (other == com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) return this; if (other.getRowsSeenCount() != 0L) { setRowsSeenCount(other.getRowsSeenCount()); } @@ -496,9 +440,6 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadIteratorStats other) { if (other.getCellsReturnedCount() != 0L) { setCellsReturnedCount(other.getCellsReturnedCount()); } - if (other.getDeletesSeenCount() != 0L) { - setDeletesSeenCount(other.getDeletesSeenCount()); - } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -525,43 +466,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rowsSeenCount_ = input.readInt64(); - - break; - } // case 8 - case 16: - { - rowsReturnedCount_ = input.readInt64(); - - break; - } // case 16 - case 24: - { - cellsSeenCount_ = input.readInt64(); - - break; - } // case 24 - case 32: - { - cellsReturnedCount_ = input.readInt64(); - - break; - } // case 32 - case 40: - { - deletesSeenCount_ = input.readInt64(); - - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rowsSeenCount_ = input.readInt64(); + + break; + } // case 8 + case 16: { + rowsReturnedCount_ = input.readInt64(); + + break; + } // case 16 + case 24: { + cellsSeenCount_ = input.readInt64(); + + break; + } // case 24 + case 32: { + cellsReturnedCount_ = input.readInt64(); + + 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) { @@ -572,17 +502,14 @@ public Builder mergeFrom( return this; } - 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 @@ -590,53 +517,44 @@ 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. */ public Builder setRowsSeenCount(long value) { - + rowsSeenCount_ = value; onChanged(); 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() { - + rowsSeenCount_ = 0L; onChanged(); 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 @@ -644,52 +562,43 @@ 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. */ public Builder setRowsReturnedCount(long value) { - + rowsReturnedCount_ = value; onChanged(); return this; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { - + rowsReturnedCount_ = 0L; onChanged(); 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 @@ -697,53 +606,44 @@ 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. */ public Builder setCellsSeenCount(long value) { - + cellsSeenCount_ = value; onChanged(); 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() { - + cellsSeenCount_ = 0L; onChanged(); 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 @@ -751,95 +651,37 @@ 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. */ public Builder setCellsReturnedCount(long value) { - + cellsReturnedCount_ = value; onChanged(); return this; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { - + cellsReturnedCount_ = 0L; onChanged(); return this; } - - private long deletesSeenCount_; - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ @java.lang.Override - public long getDeletesSeenCount() { - return deletesSeenCount_; - } - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @param value The deletesSeenCount to set. - * @return This builder for chaining. - */ - public Builder setDeletesSeenCount(long value) { - - deletesSeenCount_ = value; - onChanged(); - return this; - } - /** - * - * - *
-     * The deletes seen as part of the request.
-     * 
- * - * int64 deletes_seen_count = 5; - * - * @return This builder for chaining. - */ - public Builder clearDeletesSeenCount() { - - deletesSeenCount_ = 0L; - 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); } @@ -849,53 +691,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIteratorStats) - } - // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIteratorStats) - private static final com.google.bigtable.v2.ReadIteratorStats DEFAULT_INSTANCE; + // @@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.ReadIteratorStats(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIterationStats(); } - public static com.google.bigtable.v2.ReadIteratorStats getDefaultInstance() { + 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 ReadIteratorStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { + 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; } @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.ReadIteratorStats getDefaultInstanceForType() { + 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/ReadIteratorStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index 3c3a9eb550..0258d40bd2 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIteratorStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -1,92 +1,51 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/request_stats.proto package com.google.bigtable.v2; -public interface ReadIteratorStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIteratorStats) +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(); - - /** - * - * - *
-   * The deletes seen as part of the request.
-   * 
- * - * int64 deletes_seen_count = 5; - * - * @return The deletesSeenCount. - */ - long getDeletesSeenCount(); } 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 60% 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 1c947a6082..e1e5aacbd4 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +28,40 @@ private ReadModifyWriteRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
+   * 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 @@ -93,33 +70,32 @@ 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
+   * 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 { @@ -130,15 +106,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; 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 @@ -147,30 +120,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 { @@ -181,15 +154,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_; /** - * - * *
-   * Required. The key of the row to which the read/modify/write rules should be
-   * applied.
+   * 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 @@ -200,94 +169,74 @@ public com.google.protobuf.ByteString getRowKey() { public static final int RULES_FIELD_NUMBER = 3; 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.
+   * 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.
+   * 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.
+   * 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.
+   * 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.
+   * 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; @@ -299,7 +248,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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 +275,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_); @@ -341,18 +293,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; } @@ -379,136 +334,130 @@ 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(); @@ -529,9 +478,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 @@ -550,8 +499,7 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -573,39 +521,38 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest 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.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); } else { super.mergeFrom(other); return this; @@ -613,8 +560,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_; onChanged(); @@ -644,10 +590,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest 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_); } @@ -679,44 +624,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); + case 10: { + tableName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); - 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(); + 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(); - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -726,29 +667,25 @@ 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
+     * 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; @@ -757,25 +694,23 @@ 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
+     * 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 { @@ -783,73 +718,63 @@ 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
+     * 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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
+     * 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() { - + tableName_ = getDefaultInstance().getTableName(); 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
+     * 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) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -857,21 +782,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; @@ -880,22 +803,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 { @@ -903,64 +825,57 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -968,15 +883,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 read/modify/write rules should be
-     * applied.
+     * 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 @@ -984,74 +895,58 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
-     * Required. The key of the row to which the read/modify/write rules should be
-     * applied.
+     * 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; onChanged(); return this; } /** - * - * *
-     * Required. The key of the row to which the read/modify/write rules should be
-     * applied.
+     * 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } 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.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.
+     * 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) { @@ -1061,17 +956,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.
+     * 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) { @@ -1081,17 +972,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.
+     * 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) { @@ -1101,19 +988,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.
+     * 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(); @@ -1127,17 +1011,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.
+     * 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) { @@ -1151,17 +1031,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.
+     * 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) { @@ -1177,19 +1053,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.
+     * 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(); @@ -1203,19 +1076,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.
+     * 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()); @@ -1226,17 +1096,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.
+     * 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) { @@ -1250,23 +1116,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.
+     * 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); @@ -1274,17 +1137,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.
+     * 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) { @@ -1297,17 +1156,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.
+     * 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) { @@ -1320,56 +1175,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.
+     * 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.
+     * 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.
+     * 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 { @@ -1377,76 +1221,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.
+     * 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.
+     * 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.
+     * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1456,12 +1286,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(); } @@ -1470,27 +1300,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; @@ -1505,4 +1335,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/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 new file mode 100644 index 0000000000..bf52ebf8c2 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -0,0 +1,121 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +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) = { ... } + * @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) = { ... } + * @return The bytes for tableName. + */ + 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(); + + /** + *
+   * 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]; + */ + 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]; + */ + 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]; + */ + 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]; + */ + 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]; + */ + 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 e79c933d51..7e34e108d7 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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 @@ -83,14 +62,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 @@ -98,8 +74,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.
    * 
@@ -112,7 +86,6 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -124,7 +97,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -138,7 +112,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; @@ -148,17 +123,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; @@ -181,135 +156,129 @@ 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(); @@ -323,9 +292,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 @@ -344,8 +313,7 @@ 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); + com.google.bigtable.v2.ReadModifyWriteRowResponse result = new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); if (rowBuilder_ == null) { result.row_ = row_; } else { @@ -359,39 +327,38 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse 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.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 +366,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 +396,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowFieldBuilder().getBuilder(), extensionRegistry); - - 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); + + 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,33 +421,24 @@ public Builder mergeFrom( 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 rowBuilder_ != null || row_ != null; } /** - * - * *
      * 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() { @@ -492,8 +449,6 @@ public com.google.bigtable.v2.Row getRow() { } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -514,15 +469,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(); onChanged(); @@ -533,8 +487,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.
      * 
@@ -544,7 +496,8 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { if (row_ != null) { - row_ = com.google.bigtable.v2.Row.newBuilder(row_).mergeFrom(value).buildPartial(); + row_ = + com.google.bigtable.v2.Row.newBuilder(row_).mergeFrom(value).buildPartial(); } else { row_ = value; } @@ -556,8 +509,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.
      * 
@@ -576,8 +527,6 @@ public Builder clearRow() { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -585,13 +534,11 @@ public Builder clearRow() { * .google.bigtable.v2.Row row = 1; */ public com.google.bigtable.v2.Row.Builder getRowBuilder() { - + onChanged(); return getRowFieldBuilder().getBuilder(); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -602,12 +549,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.
      * 
@@ -615,23 +561,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); } @@ -641,12 +585,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(); } @@ -655,27 +599,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; @@ -690,4 +634,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 c0b096ad7f..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 a02ecbb670..a3b2433212 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,42 +27,38 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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;
     }
@@ -96,38 +74,32 @@ 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;
   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 @@ -136,30 +108,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 { @@ -170,8 +142,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_; /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -179,7 +149,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -189,8 +158,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
@@ -198,7 +165,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -206,8 +172,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
@@ -215,7 +179,6 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ @java.lang.Override @@ -228,8 +191,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.
@@ -238,7 +199,6 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -246,8 +206,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.
@@ -256,7 +214,6 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ @java.lang.Override @@ -268,7 +225,6 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -280,7 +236,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -288,10 +245,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); } @@ -306,17 +265,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; @@ -326,23 +286,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: @@ -369,7 +332,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: @@ -379,104 +343,97 @@ 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.
@@ -484,32 +441,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();
@@ -523,9 +481,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
@@ -544,8 +502,7 @@ 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);
+      com.google.bigtable.v2.ReadModifyWriteRule result = new com.google.bigtable.v2.ReadModifyWriteRule(this);
       result.familyName_ = familyName_;
       result.columnQualifier_ = columnQualifier_;
       if (ruleCase_ == 3) {
@@ -563,39 +520,38 @@ public com.google.bigtable.v2.ReadModifyWriteRule 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.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,20 +568,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();
@@ -653,37 +606,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-            case 18:
-              {
-                columnQualifier_ = input.readBytes();
+              break;
+            } // case 10
+            case 18: {
+              columnQualifier_ = input.readBytes();
 
-                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:
+              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) {
@@ -693,12 +641,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() {
@@ -708,23 +656,22 @@ public Builder clearRule() {
       return this;
     }
 
+
     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; @@ -733,22 +680,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 { @@ -756,64 +702,57 @@ 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) { + public Builder setFamilyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); 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; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; @@ -821,8 +760,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.
@@ -830,7 +767,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -838,8 +774,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -847,22 +781,19 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; onChanged(); return this; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -870,19 +801,16 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); 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
@@ -890,15 +818,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
@@ -906,7 +831,6 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; - * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -916,8 +840,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
@@ -925,22 +847,19 @@ 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(); - } - ruleCase_ = 3; + 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
@@ -948,7 +867,6 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; - * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -961,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.
@@ -971,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.
@@ -988,7 +901,6 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -998,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.
@@ -1008,7 +918,6 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -1019,8 +928,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.
@@ -1029,7 +936,6 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; - * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -1040,9 +946,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); } @@ -1052,12 +958,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(); } @@ -1066,27 +972,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; @@ -1101,4 +1007,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 c406c4fe3d..740f1f6b98 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 71% 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 13a20f7c61..c7c63e325d 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,33 +27,30 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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.
    * See also: RequestStats message.
@@ -79,10 +58,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.
      * 
@@ -91,8 +69,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.
@@ -102,32 +78,18 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     REQUEST_STATS_NONE(1),
     /**
-     *
-     *
-     * 
-     * Include stats related to the efficiency of the read.
-     * 
- * - * REQUEST_STATS_EFFICIENCY = 2; - */ - REQUEST_STATS_EFFICIENCY(2), - /** - * - * *
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
      * 
* - * REQUEST_STATS_FULL = 3; + * REQUEST_STATS_FULL = 2; */ - REQUEST_STATS_FULL(3), + REQUEST_STATS_FULL(2), UNRECOGNIZED(-1), ; /** - * - * *
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -136,8 +98,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.
@@ -147,26 +107,15 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_NONE_VALUE = 1;
     /**
-     *
-     *
-     * 
-     * Include stats related to the efficiency of the read.
-     * 
- * - * REQUEST_STATS_EFFICIENCY = 2; - */ - public static final int REQUEST_STATS_EFFICIENCY_VALUE = 2; - /** - * - * *
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
      * 
* - * REQUEST_STATS_FULL = 3; + * REQUEST_STATS_FULL = 2; */ - public static final int REQUEST_STATS_FULL_VALUE = 3; + public static final int REQUEST_STATS_FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { @@ -192,44 +141,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_EFFICIENCY; - case 3: - 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); } @@ -238,7 +182,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; @@ -258,18 +203,13 @@ private RequestStatsView(int value) { public static final int TABLE_NAME_FIELD_NUMBER = 1; 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 @@ -278,33 +218,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 { @@ -315,15 +253,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; private volatile java.lang.Object appProfileId_; /** - * - * *
    * This value specifies routing for replication. This API only accepts the
    * empty value of app_profile_id.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ @java.lang.Override @@ -332,30 +267,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. This API only accepts the
    * empty value of app_profile_id.
    * 
* * 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 { @@ -366,15 +301,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 @@ -382,15 +314,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 @@ -398,8 +327,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.
@@ -415,15 +342,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 @@ -431,15 +355,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 @@ -447,8 +368,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.
@@ -464,15 +383,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   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 @@ -483,43 +399,31 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { @SuppressWarnings("deprecation") - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.valueOf(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.valueOf(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -531,7 +435,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -547,9 +452,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_); } getUnknownFields().writeTo(output); @@ -565,21 +468,23 @@ 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_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -589,24 +494,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -632,7 +542,8 @@ 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 = (29 * hash) + getUnknownFields().hashCode(); @@ -640,136 +551,130 @@ public int hashCode() { 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(); @@ -797,9 +702,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 @@ -818,8 +723,7 @@ 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); + com.google.bigtable.v2.ReadRowsRequest result = new com.google.bigtable.v2.ReadRowsRequest(this); result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; if (rowsBuilder_ == null) { @@ -842,39 +746,38 @@ public com.google.bigtable.v2.ReadRowsRequest 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.ReadRowsRequest) { - return mergeFrom((com.google.bigtable.v2.ReadRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -929,49 +832,46 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 26 - case 32: - { - rowsLimit_ = input.readInt64(); - - break; - } // case 32 - case 42: - { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: - { - requestStatsView_ = input.readEnum(); - - break; - } // case 48 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + input.readMessage( + getRowsFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + + break; + } // case 26 + case 32: { + rowsLimit_ = input.readInt64(); + + break; + } // case 32 + case 42: { + appProfileId_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: { + requestStatsView_ = input.readEnum(); + + break; + } // case 48 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -984,24 +884,20 @@ public Builder mergeFrom( 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; @@ -1010,25 +906,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 { @@ -1036,73 +929,60 @@ 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1110,21 +990,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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; @@ -1133,22 +1011,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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 { @@ -1156,64 +1033,57 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * string app_profile_id = 5; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * string app_profile_id = 5; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -1221,35 +1091,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 rowsBuilder_ != null || 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. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1260,8 +1121,6 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1283,8 +1142,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.
@@ -1292,7 +1149,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();
         onChanged();
@@ -1303,8 +1161,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.
@@ -1315,7 +1171,8 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
         if (rows_ != null) {
-          rows_ = com.google.bigtable.v2.RowSet.newBuilder(rows_).mergeFrom(value).buildPartial();
+          rows_ =
+            com.google.bigtable.v2.RowSet.newBuilder(rows_).mergeFrom(value).buildPartial();
         } else {
           rows_ = value;
         }
@@ -1327,8 +1184,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.
@@ -1348,8 +1203,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1358,13 +1211,11 @@ public Builder clearRows() {
      * .google.bigtable.v2.RowSet rows = 2;
      */
     public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
-
+      
       onChanged();
       return getRowsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1376,12 +1227,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.
@@ -1390,17 +1240,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_;
@@ -1408,35 +1255,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 filterBuilder_ != null || 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. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1447,8 +1285,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.
@@ -1470,8 +1306,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.
@@ -1479,7 +1313,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();
         onChanged();
@@ -1490,8 +1325,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.
@@ -1503,7 +1336,7 @@ public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
         if (filter_ != null) {
           filter_ =
-              com.google.bigtable.v2.RowFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
+            com.google.bigtable.v2.RowFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -1515,8 +1348,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.
@@ -1536,8 +1367,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.
@@ -1546,13 +1375,11 @@ public Builder clearFilter() {
      * .google.bigtable.v2.RowFilter filter = 3;
      */
     public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
-
+      
       onChanged();
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1564,12 +1391,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.
@@ -1578,33 +1404,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 @@ -1612,38 +1432,32 @@ 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. */ public Builder setRowsLimit(long value) { - + rowsLimit_ = value; onChanged(); 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() { - + rowsLimit_ = 0L; onChanged(); return this; @@ -1651,100 +1465,80 @@ 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. */ public Builder setRequestStatsViewValue(int value) { - + requestStatsView_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.valueOf(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.valueOf(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(); } - + requestStatsView_ = value.getNumber(); onChanged(); 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() { - + requestStatsView_ = 0; 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); } @@ -1754,12 +1548,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(); } @@ -1768,27 +1562,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; @@ -1803,4 +1597,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 75% 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 2b2e969f06..b0e35311ab 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. This API only accepts the
    * empty value of app_profile_id.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. This API only accepts the
    * empty value of app_profile_id.
    * 
* * 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,40 +114,31 @@ 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(); 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 2de28f715e..21b75a275b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,38 +26,34 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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
@@ -84,14 +62,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
@@ -102,13 +77,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
@@ -119,13 +91,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
@@ -140,8 +109,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
@@ -151,13 +118,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
@@ -167,13 +131,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
@@ -187,8 +148,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
@@ -201,14 +160,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
@@ -216,13 +172,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
@@ -230,13 +184,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
@@ -244,14 +195,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
@@ -259,15 +207,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
@@ -277,14 +223,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
@@ -293,61 +236,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(); @@ -355,8 +285,6 @@ public interface CellChunkOrBuilder public com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** - * - * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -364,16 +292,15 @@ 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.EMPTY;
@@ -382,42 +309,38 @@ private CellChunk() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     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;
       }
@@ -433,31 +356,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_;
     /**
-     *
-     *
      * 
      * 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
@@ -466,7 +384,6 @@ public RowStatusCase getRowStatusCase() {
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -477,8 +394,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
@@ -489,7 +404,6 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ @java.lang.Override @@ -497,8 +411,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
@@ -509,18 +421,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
@@ -540,8 +447,6 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
     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
@@ -551,7 +456,6 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -559,8 +463,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
@@ -570,7 +472,6 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ @java.lang.Override @@ -578,8 +479,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
@@ -598,8 +497,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_;
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -612,7 +509,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -623,8 +519,6 @@ public long getTimestampMicros() { public static final int LABELS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList labels_; /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -632,15 +526,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
@@ -648,15 +540,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
@@ -664,7 +553,6 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -672,8 +560,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
@@ -681,19 +567,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_; /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -703,7 +587,6 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
      * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -714,8 +597,6 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; 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
@@ -724,7 +605,6 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -734,15 +614,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 @@ -750,15 +627,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 @@ -771,15 +645,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 @@ -787,15 +658,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 @@ -807,7 +675,6 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -819,7 +686,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -842,10 +710,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); } @@ -857,16 +727,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; @@ -877,20 +751,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; @@ -900,34 +776,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: @@ -954,7 +838,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(); @@ -966,11 +851,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: @@ -981,93 +868,87 @@ 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 @@ -1077,8 +958,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -1086,33 +965,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();
@@ -1144,9 +1023,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
@@ -1165,8 +1044,7 @@ 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);
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
         int from_bitField0_ = bitField0_;
         result.rowKey_ = rowKey_;
         if (familyNameBuilder_ == null) {
@@ -1202,41 +1080,38 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk 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.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 +1119,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 +1149,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 +1187,62 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  rowKey_ = input.readBytes();
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 26
-              case 32:
-                {
-                  timestampMicros_ = input.readInt64();
-
-                  break;
-                } // case 32
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureLabelsIsMutable();
-                  labels_.add(s);
-                  break;
-                } // case 42
-              case 50:
-                {
-                  value_ = input.readBytes();
-
-                  break;
-                } // case 50
-              case 56:
-                {
-                  valueSize_ = input.readInt32();
-
-                  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();
+
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getFamilyNameFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getQualifierFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 26
+              case 32: {
+                timestampMicros_ = input.readInt64();
+
+                break;
+              } // case 32
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLabelsIsMutable();
+                labels_.add(s);
+                break;
+              } // case 42
+              case 50: {
+                value_ = input.readBytes();
+
+                break;
+              } // case 50
+              case 56: {
+                valueSize_ = input.readInt32();
+
+                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 +1252,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 +1271,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 +1279,6 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -1424,8 +1286,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 +1294,19 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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,11 +1315,10 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; @@ -1470,13 +1326,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 +1338,12 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return familyNameBuilder_ != null || 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
@@ -1506,21 +1354,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 +1389,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 +1400,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();
           onChanged();
@@ -1570,8 +1412,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
@@ -1587,9 +1427,7 @@ public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
           if (familyName_ != null) {
             familyName_ =
-                com.google.protobuf.StringValue.newBuilder(familyName_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.StringValue.newBuilder(familyName_).mergeFrom(value).buildPartial();
           } else {
             familyName_ = value;
           }
@@ -1601,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
@@ -1626,8 +1462,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
@@ -1640,13 +1474,11 @@ public Builder clearFamilyName() {
        * .google.protobuf.StringValue family_name = 2;
        */
       public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
-
+        
         onChanged();
         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
@@ -1662,14 +1494,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
@@ -1682,17 +1511,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_;
@@ -1700,13 +1526,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
@@ -1716,15 +1537,12 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return qualifierBuilder_ != null || 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
@@ -1734,21 +1552,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
@@ -1773,8 +1586,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
@@ -1785,7 +1596,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();
           onChanged();
@@ -1796,8 +1608,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
@@ -1812,9 +1622,7 @@ public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
           if (qualifier_ != null) {
             qualifier_ =
-                com.google.protobuf.BytesValue.newBuilder(qualifier_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.protobuf.BytesValue.newBuilder(qualifier_).mergeFrom(value).buildPartial();
           } else {
             qualifier_ = value;
           }
@@ -1826,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
@@ -1850,8 +1656,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
@@ -1863,13 +1667,11 @@ public Builder clearQualifier() {
        * .google.protobuf.BytesValue qualifier = 3;
        */
       public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
-
+        
         onChanged();
         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
@@ -1884,14 +1686,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
@@ -1903,26 +1702,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
@@ -1935,7 +1729,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -1943,8 +1736,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1957,19 +1748,16 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1982,28 +1770,23 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; } - private com.google.protobuf.LazyStringList labels_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2011,15 +1794,13 @@ 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() { return labels_.getUnmodifiableView(); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2027,15 +1808,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
@@ -2043,7 +1821,6 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -2051,8 +1828,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
@@ -2060,16 +1835,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
@@ -2077,23 +1850,21 @@ 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) { + public Builder setLabels( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.set(index, value); onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2101,22 +1872,20 @@ 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) { + public Builder addLabels( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.add(value); onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2124,19 +1893,18 @@ 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_); onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2144,7 +1912,6 @@ public Builder addAllLabels(java.lang.Iterable values) {
        * 
* * repeated string labels = 5; - * * @return This builder for chaining. */ public Builder clearLabels() { @@ -2154,8 +1921,6 @@ public Builder clearLabels() { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2163,15 +1928,15 @@ 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) { + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); onChanged(); @@ -2180,8 +1945,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
@@ -2191,7 +1954,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -2199,8 +1961,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
@@ -2210,22 +1970,19 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; 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
@@ -2235,20 +1992,17 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); 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
@@ -2257,7 +2011,6 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -2265,8 +2018,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
@@ -2275,19 +2026,16 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; - * * @param value The valueSize to set. * @return This builder for chaining. */ public Builder setValueSize(int value) { - + valueSize_ = value; onChanged(); 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
@@ -2296,41 +2044,34 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; - * * @return This builder for chaining. */ public Builder clearValueSize() { - + valueSize_ = 0; onChanged(); 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 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() { @@ -2340,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. */ @@ -2359,15 +2097,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() { @@ -2380,30 +2115,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() { @@ -2413,15 +2142,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. */ @@ -2432,15 +2158,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() { @@ -2451,7 +2174,6 @@ public Builder clearCommitRow() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2464,12 +2186,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(); } @@ -2478,28 +2200,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; @@ -2514,13 +2235,12 @@ 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; private java.util.List chunks_; /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2532,8 +2252,6 @@ public java.util.List getChun return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2541,13 +2259,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.
    * 
@@ -2559,8 +2275,6 @@ public int getChunksCount() { return chunks_.size(); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2572,8 +2286,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.
    * 
@@ -2581,15 +2293,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_; /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -2601,7 +2312,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2612,8 +2322,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
    * dictate:
@@ -2635,7 +2343,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2643,8 +2350,6 @@ public boolean hasRequestStats() { return requestStats_ != null; } /** - * - * *
    * If requested, provide enhanced query performance statistics. The semantics
    * dictate:
@@ -2666,18 +2371,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
    * dictate:
@@ -2706,7 +2406,6 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2718,7 +2417,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -2738,13 +2438,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;
@@ -2754,18 +2457,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;
@@ -2793,136 +2499,130 @@ 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(); @@ -2945,9 +2645,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 @@ -2966,8 +2666,7 @@ 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); int from_bitField0_ = bitField0_; if (chunksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2992,39 +2691,38 @@ public com.google.bigtable.v2.ReadRowsResponse 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.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -3051,10 +2749,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_); } @@ -3092,39 +2789,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(); + 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(); - break; - } // case 18 - case 26: - { - input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); + break; + } // case 18 + case 26: { + input.readMessage( + getRequestStatsFieldBuilder().getBuilder(), + extensionRegistry); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -3134,29 +2829,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.
      * 
@@ -3171,8 +2858,6 @@ public java.util.List getChun } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3187,8 +2872,6 @@ public int getChunksCount() { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3203,15 +2886,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(); @@ -3225,8 +2907,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.
      * 
@@ -3245,8 +2925,6 @@ public Builder setChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3267,15 +2945,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(); @@ -3289,8 +2966,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.
      * 
@@ -3309,8 +2984,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3329,8 +3002,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3341,7 +3012,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); @@ -3349,8 +3021,6 @@ public Builder addAllChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3368,8 +3038,6 @@ public Builder clearChunks() { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3387,20 +3055,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.
      * 
@@ -3410,22 +3075,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 { @@ -3433,8 +3095,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3442,59 +3102,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
@@ -3506,7 +3156,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3514,8 +3163,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
@@ -3527,22 +3174,19 @@ 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(); - } - + throw new NullPointerException(); + } + lastScannedRowKey_ = value; 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
@@ -3554,11 +3198,10 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; - * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { - + lastScannedRowKey_ = getDefaultInstance().getLastScannedRowKey(); onChanged(); return this; @@ -3566,13 +3209,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
      * dictate:
@@ -3594,15 +3232,12 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return requestStatsBuilder_ != null || requestStats_ != null; } /** - * - * *
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3624,21 +3259,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
      * dictate:
@@ -3675,8 +3305,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3699,7 +3327,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();
         onChanged();
@@ -3710,8 +3339,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3738,9 +3365,7 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
         if (requestStats_ != null) {
           requestStats_ =
-              com.google.bigtable.v2.RequestStats.newBuilder(requestStats_)
-                  .mergeFrom(value)
-                  .buildPartial();
+            com.google.bigtable.v2.RequestStats.newBuilder(requestStats_).mergeFrom(value).buildPartial();
         } else {
           requestStats_ = value;
         }
@@ -3752,8 +3377,6 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3788,8 +3411,6 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3813,13 +3434,11 @@ public Builder clearRequestStats() {
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
     public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
-
+      
       onChanged();
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3846,14 +3465,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
      * dictate:
@@ -3877,24 +3493,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);
     }
 
@@ -3904,12 +3517,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();
   }
@@ -3918,27 +3531,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;
@@ -3953,4 +3566,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 26522bed3b..aef55673f3 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
    * dictate:
@@ -118,13 +89,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
    * dictate:
@@ -146,13 +114,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
    * dictate:
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 66%
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 9ef01837e5..c89c82bbd1 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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,49 +12,46 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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
@@ -82,10 +62,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -93,8 +78,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
@@ -105,21 +88,22 @@ public boolean hasFrontendServerLatency() {
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .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
@@ -130,6 +114,12 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; @@ -140,7 +130,6 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,7 +141,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -166,8 +156,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; @@ -177,17 +167,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; @@ -209,104 +199,97 @@ 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
@@ -315,32 +298,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();
@@ -354,9 +338,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
@@ -375,8 +359,7 @@ 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);
+      com.google.bigtable.v2.RequestLatencyStats result = new com.google.bigtable.v2.RequestLatencyStats(this);
       if (frontendServerLatencyBuilder_ == null) {
         result.frontendServerLatency_ = frontendServerLatency_;
       } else {
@@ -390,39 +373,38 @@ public com.google.bigtable.v2.RequestLatencyStats 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.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -460,20 +442,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFrontendServerLatencyFieldBuilder().getBuilder(), extensionRegistry);
-
-                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);
+
+              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) {
@@ -486,13 +467,8 @@ public Builder mergeFrom(
 
     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
@@ -503,18 +479,21 @@ public Builder mergeFrom(
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return frontendServerLatencyBuilder_ != null || 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
@@ -525,24 +504,25 @@ public boolean hasFrontendServerLatency() {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .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
@@ -553,6 +533,12 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; @@ -571,8 +557,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
@@ -583,11 +567,18 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .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(); onChanged(); @@ -598,8 +589,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
@@ -610,6 +599,12 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; @@ -618,9 +613,7 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) { if (frontendServerLatencyBuilder_ == null) { if (frontendServerLatency_ != null) { frontendServerLatency_ = - com.google.protobuf.Duration.newBuilder(frontendServerLatency_) - .mergeFrom(value) - .buildPartial(); + com.google.protobuf.Duration.newBuilder(frontendServerLatency_).mergeFrom(value).buildPartial(); } else { frontendServerLatency_ = value; } @@ -632,8 +625,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
@@ -644,6 +635,12 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; @@ -660,8 +657,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
@@ -672,18 +667,22 @@ public Builder clearFrontendServerLatency() {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; */ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() { - + onChanged(); 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
@@ -694,6 +693,12 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; @@ -702,14 +707,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
@@ -720,29 +722,32 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
      * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
      * needs to be sent in the response before the latency measurement including
      * that transmission is finalized.
+     * Note: This value includes the end-to-end latency of contacting nodes in
+     * the targeted cluster, e.g. measuring from when the first byte arrives at
+     * the frontend server, to when this value is sent back as the last value in
+     * the response, including any latency incurred by contacting nodes, waiting
+     * for results from nodes, and finally sending results from nodes back to the
+     * caller.
      * 
* * .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); } @@ -752,12 +757,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(); } @@ -766,27 +771,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; @@ -801,4 +806,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 68% 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 aa71fa6b5d..6b7ffed2cc 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -36,16 +18,19 @@ public interface RequestLatencyStatsOrBuilder
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .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
@@ -56,16 +41,19 @@ public interface RequestLatencyStatsOrBuilder
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .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
@@ -76,6 +64,12 @@ public interface RequestLatencyStatsOrBuilder
    * (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value
    * needs to be sent in the response before the latency measurement including
    * that transmission is finalized.
+   * Note: This value includes the end-to-end latency of contacting nodes in
+   * the targeted cluster, e.g. measuring from when the first byte arrives at
+   * the frontend server, to when this value is sent back as the last value in
+   * the response, including any latency incurred by contacting nodes, waiting
+   * for results from nodes, and finally sending results from nodes back to the
+   * caller.
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; diff --git a/owl-bot-staging/v2/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 new file mode 100644 index 0000000000..1ff7d23aa2 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java @@ -0,0 +1,755 @@ +// 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.
+ * Currently, there are the following supported methods:
+ *   * google.bigtable.v2.ReadRows
+ * 
+ * + * Protobuf type {@code google.bigtable.v2.RequestStats} + */ +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; + // Use RequestStats.newBuilder() to construct. + private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private RequestStats() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new RequestStats(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + 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 + .ensureFieldAccessorsInitialized( + com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class); + } + + private int statsViewCase_ = 0; + private java.lang.Object statsView_; + public enum StatsViewCase + 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; + } + /** + * @param value The number of the enum to look for. + * @return The enum associated with the given number. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static StatsViewCase valueOf(int value) { + return forNumber(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; + } + } + public int getNumber() { + return this.value; + } + }; + + 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 + 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.getDefaultInstance(); + } + /** + *
+   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+   * view, see package google.bigtable.v2.
+   * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + @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.getDefaultInstance(); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (statsViewCase_ == 1) { + output.writeMessage(1, (com.google.bigtable.v2.FullReadStatsView) statsView_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (statsViewCase_ == 1) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.FullReadStatsView) statsView_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.bigtable.v2.RequestStats)) { + return super.equals(obj); + } + com.google.bigtable.v2.RequestStats other = (com.google.bigtable.v2.RequestStats) obj; + + if (!getStatsViewCase().equals(other.getStatsViewCase())) return false; + switch (statsViewCase_) { + case 1: + if (!getFullReadStatsView() + .equals(other.getFullReadStatsView())) return false; + break; + case 0: + default: + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + switch (statsViewCase_) { + case 1: + hash = (37 * hash) + FULL_READ_STATS_VIEW_FIELD_NUMBER; + hash = (53 * hash) + getFullReadStatsView().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + 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) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + 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) + 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); + } + public static com.google.bigtable.v2.RequestStats 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.RequestStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + 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) + throws java.io.IOException { + 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); + } + 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); + } + + @java.lang.Override + 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); + } + + @java.lang.Override + 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.
+   * Currently, there are the following supported methods:
+   *   * google.bigtable.v2.ReadRows
+   * 
+ * + * Protobuf type {@code google.bigtable.v2.RequestStats} + */ + 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; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + 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); + } + + // Construct using com.google.bigtable.v2.RequestStats.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + if (fullReadStatsViewBuilder_ != null) { + fullReadStatsViewBuilder_.clear(); + } + statsViewCase_ = 0; + statsView_ = null; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor; + } + + @java.lang.Override + public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() { + return com.google.bigtable.v2.RequestStats.getDefaultInstance(); + } + + @java.lang.Override + public com.google.bigtable.v2.RequestStats build() { + com.google.bigtable.v2.RequestStats result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.bigtable.v2.RequestStats buildPartial() { + com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this); + if (statsViewCase_ == 1) { + if (fullReadStatsViewBuilder_ == null) { + result.statsView_ = statsView_; + } else { + result.statsView_ = fullReadStatsViewBuilder_.build(); + } + } + result.statsViewCase_ = statsViewCase_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.bigtable.v2.RequestStats) { + return mergeFrom((com.google.bigtable.v2.RequestStats)other); + } else { + super.mergeFrom(other); + return this; + } + } + + 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; + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + input.readMessage( + 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) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int statsViewCase_ = 0; + private java.lang.Object statsView_; + public StatsViewCase + getStatsViewCase() { + return StatsViewCase.forNumber( + statsViewCase_); + } + + public Builder clearStatsView() { + statsViewCase_ = 0; + statsView_ = null; + onChanged(); + return this; + } + + + private com.google.protobuf.SingleFieldBuilderV3< + 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 + 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 (fullReadStatsViewBuilder_ == null) { + if (statsViewCase_ == 1) { + return (com.google.bigtable.v2.FullReadStatsView) statsView_; + } + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); + } else { + if (statsViewCase_ == 1) { + return fullReadStatsViewBuilder_.getMessage(); + } + return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); + } + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + public Builder setFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) { + if (fullReadStatsViewBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + statsView_ = value; + onChanged(); + } else { + fullReadStatsViewBuilder_.setMessage(value); + } + statsViewCase_ = 1; + return this; + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + public Builder setFullReadStatsView( + com.google.bigtable.v2.FullReadStatsView.Builder builderForValue) { + if (fullReadStatsViewBuilder_ == null) { + statsView_ = builderForValue.build(); + onChanged(); + } else { + fullReadStatsViewBuilder_.setMessage(builderForValue.build()); + } + statsViewCase_ = 1; + return this; + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + 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(); + } else { + statsView_ = value; + } + onChanged(); + } else { + if (statsViewCase_ == 1) { + fullReadStatsViewBuilder_.mergeFrom(value); + } else { + fullReadStatsViewBuilder_.setMessage(value); + } + } + statsViewCase_ = 1; + return this; + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + public Builder clearFullReadStatsView() { + if (fullReadStatsViewBuilder_ == null) { + if (statsViewCase_ == 1) { + statsViewCase_ = 0; + statsView_ = null; + onChanged(); + } + } else { + if (statsViewCase_ == 1) { + statsViewCase_ = 0; + statsView_ = null; + } + fullReadStatsViewBuilder_.clear(); + } + return this; + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + public com.google.bigtable.v2.FullReadStatsView.Builder getFullReadStatsViewBuilder() { + return getFullReadStatsViewFieldBuilder().getBuilder(); + } + /** + *
+     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
+     * view, see package google.bigtable.v2.
+     * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + @java.lang.Override + public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() { + if ((statsViewCase_ == 1) && (fullReadStatsViewBuilder_ != null)) { + return fullReadStatsViewBuilder_.getMessageOrBuilder(); + } else { + if (statsViewCase_ == 1) { + 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.
+     * 
+ * + * .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> + 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>( + (com.google.bigtable.v2.FullReadStatsView) statsView_, + getParentForChildren(), + isClean()); + statsView_ = null; + } + statsViewCase_ = 1; + onChanged();; + return fullReadStatsViewBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.bigtable.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(); + } + + 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(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/v2/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 new file mode 100644 index 0000000000..6683ed11d8 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java @@ -0,0 +1,41 @@ +// 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 + // @@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.
+   * 
+ * + * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; + */ + com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder(); + + public com.google.bigtable.v2.RequestStats.StatsViewCase getStatsViewCase(); +} 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 69% 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 6c0fc5c63f..8aede9912f 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,42 +29,38 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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;
   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 @@ -90,14 +68,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 @@ -106,29 +81,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 { @@ -139,15 +114,12 @@ public com.google.protobuf.ByteString getZoneIdBytes() { public static final int CLUSTER_ID_FIELD_NUMBER = 2; 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 @@ -155,15 +127,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 @@ -172,30 +141,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 { @@ -204,7 +173,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +184,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -246,7 +215,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); @@ -255,11 +224,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; @@ -285,103 +256,97 @@ 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
@@ -391,32 +356,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();
@@ -428,9 +394,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
@@ -449,8 +415,7 @@ 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);
+      com.google.bigtable.v2.ResponseParams result = new com.google.bigtable.v2.ResponseParams(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -470,39 +435,38 @@ public com.google.bigtable.v2.ResponseParams 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.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -547,25 +511,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) {
@@ -575,39 +536,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; @@ -616,21 +571,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 { @@ -638,35 +592,30 @@ 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) { + public Builder setZoneId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; zoneId_ = value; onChanged(); return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -676,22 +625,20 @@ 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) { + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; zoneId_ = value; onChanged(); @@ -700,36 +647,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; @@ -738,22 +680,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 { @@ -761,37 +702,32 @@ 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) { + public Builder setClusterId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; clusterId_ = value; 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() { @@ -801,31 +737,29 @@ 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) { + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; clusterId_ = 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); } @@ -835,12 +769,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(); } @@ -849,27 +783,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; @@ -884,4 +818,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 118eef7410..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 74% 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 8fe37c4d46..aa2e66fd30 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,24 +27,25 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Row();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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);
   }
@@ -70,8 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString 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.
@@ -79,7 +60,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -90,8 +70,6 @@ public com.google.protobuf.ByteString getKey() { public static final int FAMILIES_FIELD_NUMBER = 2; 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.
@@ -104,8 +82,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.
@@ -114,13 +90,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.
@@ -133,8 +107,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.
@@ -147,8 +119,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.
@@ -157,12 +127,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;
@@ -174,7 +144,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -191,10 +162,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;
@@ -204,15 +177,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;
   }
@@ -235,103 +210,97 @@ 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.
@@ -339,30 +308,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();
@@ -379,7 +351,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;
     }
 
@@ -419,39 +392,38 @@ public com.google.bigtable.v2.Row 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.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row) other);
+        return mergeFrom((com.google.bigtable.v2.Row)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -481,10 +453,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            familiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFamiliesFieldBuilder()
-                    : null;
+            familiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFamiliesFieldBuilder() : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -516,31 +487,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readBytes();
+            case 10: {
+              key_ = input.readBytes();
 
-                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:
+              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) {
@@ -550,13 +520,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.
@@ -564,7 +531,6 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -572,8 +538,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.
@@ -581,22 +545,19 @@ 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(); - } - + throw new NullPointerException(); + } + key_ = value; 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.
@@ -604,35 +565,28 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } private java.util.List families_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -648,8 +602,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.
@@ -665,8 +617,6 @@ public int getFamiliesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -682,8 +632,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.
@@ -691,7 +639,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();
@@ -705,8 +654,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.
@@ -714,7 +661,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());
@@ -725,8 +673,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.
@@ -748,8 +694,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.
@@ -757,7 +701,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();
@@ -771,8 +716,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.
@@ -780,7 +723,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());
@@ -791,8 +735,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.
@@ -800,7 +742,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());
@@ -811,8 +754,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.
@@ -824,7 +765,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);
@@ -832,8 +774,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.
@@ -852,8 +792,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.
@@ -872,8 +810,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.
@@ -881,12 +817,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.
@@ -894,16 +829,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.
@@ -911,8 +844,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 {
@@ -920,8 +853,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.
@@ -930,12 +861,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.
@@ -943,13 +872,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.
@@ -957,29 +885,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_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -989,12 +915,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();
   }
@@ -1003,27 +929,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;
@@ -1038,4 +964,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 89d7c853b7..a4d2c5ad3d 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 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -54,50 +37,48 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
-  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,62 +129,57 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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
@@ -223,8 +193,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
@@ -234,13 +202,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
@@ -254,8 +220,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
@@ -269,8 +233,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
@@ -280,12 +242,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;
@@ -297,7 +259,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -311,7 +274,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;
@@ -321,14 +285,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;
     }
@@ -349,94 +314,88 @@ 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
@@ -446,41 +405,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(); @@ -495,9 +452,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 @@ -516,8 +473,7 @@ 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); int from_bitField0_ = bitField0_; if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -536,41 +492,38 @@ public com.google.bigtable.v2.RowFilter.Chain 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.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; @@ -597,10 +550,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_); } @@ -632,26 +584,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) { @@ -661,28 +612,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
@@ -699,8 +643,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
@@ -717,8 +659,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
@@ -735,8 +675,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
@@ -745,7 +683,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();
@@ -759,8 +698,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
@@ -781,8 +718,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
@@ -805,8 +740,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
@@ -815,7 +748,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();
@@ -829,8 +763,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
@@ -839,7 +771,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());
@@ -850,8 +783,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
@@ -872,8 +803,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
@@ -886,7 +815,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);
@@ -894,8 +824,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
@@ -915,8 +843,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
@@ -936,8 +862,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
@@ -946,12 +870,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
@@ -960,16 +883,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
@@ -978,8 +899,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 {
@@ -987,8 +908,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
@@ -998,12 +917,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
@@ -1012,13 +929,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
@@ -1027,27 +943,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) {
@@ -1060,12 +973,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();
     }
@@ -1074,28 +987,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;
@@ -1110,16 +1022,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.
@@ -1148,10 +1058,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.
@@ -1182,8 +1091,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.
@@ -1214,8 +1121,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.
@@ -1244,10 +1149,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.
@@ -1276,11 +1180,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.
@@ -1288,51 +1191,47 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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;
     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.
@@ -1366,8 +1265,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.
@@ -1397,13 +1294,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.
@@ -1437,8 +1332,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.
@@ -1472,8 +1365,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.
@@ -1503,12 +1394,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;
@@ -1520,7 +1411,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -1534,7 +1426,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;
@@ -1544,15 +1437,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;
     }
@@ -1573,94 +1466,88 @@ 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
@@ -1670,8 +1557,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1679,33 +1564,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();
@@ -1720,9 +1605,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
@@ -1741,8 +1626,7 @@ 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);
         int from_bitField0_ = bitField0_;
         if (filtersBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -1761,41 +1645,38 @@ public com.google.bigtable.v2.RowFilter.Interleave 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.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;
@@ -1822,10 +1703,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_);
             }
@@ -1857,26 +1737,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) {
@@ -1886,28 +1765,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.
@@ -1944,8 +1816,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.
@@ -1982,8 +1852,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.
@@ -2020,8 +1888,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.
@@ -2050,7 +1916,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();
@@ -2064,8 +1931,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.
@@ -2106,8 +1971,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.
@@ -2150,8 +2013,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.
@@ -2180,7 +2041,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();
@@ -2194,8 +2056,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.
@@ -2224,7 +2084,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());
@@ -2235,8 +2096,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.
@@ -2277,8 +2136,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.
@@ -2311,7 +2168,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);
@@ -2319,8 +2177,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.
@@ -2360,8 +2216,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.
@@ -2401,8 +2255,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.
@@ -2431,12 +2283,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.
@@ -2465,16 +2316,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.
@@ -2503,8 +2352,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 {
@@ -2512,8 +2361,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.
@@ -2543,12 +2390,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.
@@ -2577,13 +2422,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.
@@ -2612,27 +2456,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) {
@@ -2645,12 +2486,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();
     }
@@ -2659,28 +2500,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;
@@ -2695,42 +2535,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.
@@ -2741,34 +2573,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.
@@ -2779,8 +2603,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
@@ -2788,13 +2610,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
@@ -2802,13 +2621,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
@@ -2820,8 +2636,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.
@@ -2833,56 +2647,52 @@ 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
-    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 @@ -2890,26 +2700,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.
@@ -2925,15 +2728,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
     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 @@ -2941,26 +2741,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.
@@ -2976,8 +2769,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
     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
@@ -2985,7 +2776,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 @@ -2993,8 +2783,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
@@ -3002,18 +2790,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
@@ -3028,7 +2811,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3040,7 +2822,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -3060,13 +2843,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;
@@ -3076,25 +2862,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;
@@ -3124,94 +2912,88 @@ 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
@@ -3221,8 +3003,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.
@@ -3234,33 +3014,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();
@@ -3286,9 +3066,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
@@ -3307,8 +3087,7 @@ 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);
+        com.google.bigtable.v2.RowFilter.Condition result = new com.google.bigtable.v2.RowFilter.Condition(this);
         if (predicateFilterBuilder_ == null) {
           result.predicateFilter_ = predicateFilter_;
         } else {
@@ -3332,41 +3111,38 @@ public com.google.bigtable.v2.RowFilter.Condition 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.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;
@@ -3410,32 +3186,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
-
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
-
-                  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);
+
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getTrueFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getFalseFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+
+                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) {
@@ -3448,49 +3225,36 @@ public Builder mergeFrom(
 
       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 predicateFilterBuilder_ != null || 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. */ 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.
@@ -3512,8 +3276,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.
@@ -3521,7 +3283,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();
           onChanged();
@@ -3532,8 +3295,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.
@@ -3545,9 +3306,7 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
           if (predicateFilter_ != null) {
             predicateFilter_ =
-                com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_).mergeFrom(value).buildPartial();
           } else {
             predicateFilter_ = value;
           }
@@ -3559,8 +3318,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.
@@ -3580,8 +3337,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.
@@ -3590,13 +3345,11 @@ public Builder clearPredicateFilter() {
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
-
+        
         onChanged();
         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.
@@ -3608,14 +3361,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.
@@ -3624,17 +3374,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_;
@@ -3642,49 +3389,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 trueFilterBuilder_ != null || 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. */ 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.
@@ -3706,8 +3440,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.
@@ -3715,7 +3447,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();
           onChanged();
@@ -3726,8 +3459,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.
@@ -3739,9 +3470,7 @@ public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
           if (trueFilter_ != null) {
             trueFilter_ =
-                com.google.bigtable.v2.RowFilter.newBuilder(trueFilter_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.bigtable.v2.RowFilter.newBuilder(trueFilter_).mergeFrom(value).buildPartial();
           } else {
             trueFilter_ = value;
           }
@@ -3753,8 +3482,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.
@@ -3774,8 +3501,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.
@@ -3784,13 +3509,11 @@ public Builder clearTrueFilter() {
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
       public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
-
+        
         onChanged();
         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.
@@ -3802,14 +3525,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.
@@ -3818,17 +3538,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_;
@@ -3836,13 +3553,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
@@ -3850,15 +3562,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 falseFilterBuilder_ != null || 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
@@ -3866,21 +3575,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
@@ -3903,8 +3607,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
@@ -3913,7 +3615,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();
           onChanged();
@@ -3924,8 +3627,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
@@ -3938,9 +3639,7 @@ public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
           if (falseFilter_ != null) {
             falseFilter_ =
-                com.google.bigtable.v2.RowFilter.newBuilder(falseFilter_)
-                    .mergeFrom(value)
-                    .buildPartial();
+              com.google.bigtable.v2.RowFilter.newBuilder(falseFilter_).mergeFrom(value).buildPartial();
           } else {
             falseFilter_ = value;
           }
@@ -3952,8 +3651,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
@@ -3974,8 +3671,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
@@ -3985,13 +3680,11 @@ public Builder clearFalseFilter() {
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
       public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
-
+        
         onChanged();
         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
@@ -4004,14 +3697,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
@@ -4021,22 +3711,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) {
@@ -4049,12 +3735,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();
     }
@@ -4063,28 +3749,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;
@@ -4099,14 +3784,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int filterCase_ = 0;
   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),
@@ -4129,7 +3813,6 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
-
     private FilterCase(int value) {
       this.value = value;
     }
@@ -4145,71 +3828,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 @@ -4217,27 +3877,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.
@@ -4248,22 +3903,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 @@ -4271,27 +3923,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.
@@ -4302,22 +3949,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 @@ -4325,27 +3969,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.
@@ -4356,15 +3995,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
@@ -4423,7 +4060,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ @java.lang.Override @@ -4431,8 +4067,6 @@ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4491,7 +4125,6 @@ public boolean hasSink() {
    * 
* * bool sink = 16; - * * @return The sink. */ @java.lang.Override @@ -4504,15 +4137,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 @@ -4520,15 +4150,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 @@ -4541,15 +4168,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 @@ -4557,15 +4181,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 @@ -4578,8 +4199,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
@@ -4591,7 +4210,6 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4599,8 +4217,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
@@ -4612,7 +4228,6 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4625,15 +4240,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 @@ -4641,15 +4253,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 @@ -4662,8 +4271,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 `:`
@@ -4674,15 +4281,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 `:`
@@ -4693,7 +4297,6 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4704,7 +4307,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; @@ -4713,8 +4317,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 `:`
@@ -4725,17 +4327,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; } @@ -4747,8 +4350,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.
@@ -4759,7 +4360,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4767,8 +4367,6 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4779,7 +4377,6 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4792,14 +4389,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 @@ -4807,26 +4401,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.
    * 
@@ -4836,21 +4425,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 @@ -4858,26 +4444,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.
    * 
@@ -4887,15 +4468,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
@@ -4905,7 +4484,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -4913,8 +4491,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
@@ -4924,7 +4500,6 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ @java.lang.Override @@ -4937,14 +4512,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 @@ -4952,26 +4524,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.
    * 
@@ -4981,15 +4548,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,
@@ -4997,7 +4562,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 @@ -5005,8 +4569,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,
@@ -5014,7 +4576,6 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -5027,8 +4588,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,
@@ -5036,7 +4595,6 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -5044,8 +4602,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,
@@ -5053,7 +4609,6 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -5066,8 +4621,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,
@@ -5078,7 +4631,6 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -5086,8 +4638,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,
@@ -5098,7 +4648,6 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -5111,14 +4660,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 @@ -5126,14 +4672,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 @@ -5146,8 +4689,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
@@ -5163,15 +4704,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
@@ -5187,7 +4725,6 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -5198,7 +4735,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; @@ -5207,8 +4745,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
@@ -5224,17 +4760,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; } @@ -5245,7 +4782,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5257,7 +4793,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -5268,13 +4805,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_); @@ -5283,34 +4822,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_); @@ -5325,92 +4873,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_); @@ -5423,7 +4965,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); @@ -5433,63 +4975,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: @@ -5520,15 +5080,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; @@ -5536,10 +5099,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; @@ -5579,7 +5140,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; @@ -5593,103 +5155,97 @@ 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
@@ -5723,32 +5279,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();
@@ -5776,9 +5333,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
@@ -5888,39 +5445,38 @@ public com.google.bigtable.v2.RowFilter 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.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5930,109 +5486,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();
@@ -6060,132 +5596,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) {
@@ -6195,12 +5720,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() {
@@ -6210,21 +5735,16 @@ public Builder clearFilter() {
       return this;
     }
 
+
     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 @@ -6232,15 +5752,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 @@ -6258,8 +5775,6 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6281,8 +5796,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.
@@ -6290,7 +5803,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();
@@ -6301,8 +5815,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.
@@ -6312,13 +5824,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;
         }
@@ -6334,8 +5843,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.
@@ -6360,8 +5867,6 @@ public Builder clearChain() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6373,8 +5878,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.
@@ -6394,8 +5897,6 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6404,45 +5905,33 @@ 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());
         filter_ = null;
       }
       filterCase_ = 1;
-      onChanged();
-      ;
+      onChanged();;
       return chainBuilder_;
     }
 
     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 @@ -6450,15 +5939,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 @@ -6476,8 +5962,6 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6499,8 +5983,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.
@@ -6520,8 +6002,6 @@ public Builder setInterleave(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6531,13 +6011,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;
         }
@@ -6553,8 +6030,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.
@@ -6579,8 +6054,6 @@ public Builder clearInterleave() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6592,8 +6065,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.
@@ -6613,8 +6084,6 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6623,45 +6092,33 @@ 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());
         filter_ = null;
       }
       filterCase_ = 2;
-      onChanged();
-      ;
+      onChanged();;
       return interleaveBuilder_;
     }
 
     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 @@ -6669,15 +6126,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 @@ -6695,8 +6149,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.
@@ -6718,8 +6170,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.
@@ -6739,8 +6189,6 @@ public Builder setCondition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6750,13 +6198,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;
         }
@@ -6772,8 +6217,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.
@@ -6798,8 +6241,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6811,8 +6252,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.
@@ -6832,8 +6271,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.
@@ -6842,33 +6279,25 @@ 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());
         filter_ = null;
       }
       filterCase_ = 3;
-      onChanged();
-      ;
+      onChanged();;
       return conditionBuilder_;
     }
 
     /**
-     *
-     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6927,15 +6356,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
@@ -6994,7 +6420,6 @@ public boolean hasSink() {
      * 
* * bool sink = 16; - * * @return The sink. */ public boolean getSink() { @@ -7004,8 +6429,6 @@ public boolean getSink() { return false; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7064,7 +6487,6 @@ public boolean getSink() {
      * 
* * bool sink = 16; - * * @param value The sink to set. * @return This builder for chaining. */ @@ -7075,8 +6497,6 @@ public Builder setSink(boolean value) { return this; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7135,7 +6555,6 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; - * * @return This builder for chaining. */ public Builder clearSink() { @@ -7148,30 +6567,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() { @@ -7181,15 +6594,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. */ @@ -7200,15 +6610,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() { @@ -7221,30 +6628,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() { @@ -7254,15 +6655,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. */ @@ -7273,15 +6671,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() { @@ -7294,8 +6689,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
@@ -7307,15 +6700,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
@@ -7327,7 +6717,6 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -7337,8 +6726,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
@@ -7350,22 +6737,19 @@ 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(); - } - filterCase_ = 4; + 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
@@ -7377,7 +6761,6 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; - * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -7390,30 +6773,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() { @@ -7423,15 +6800,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. */ @@ -7442,15 +6816,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() { @@ -7463,8 +6834,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 `:`
@@ -7475,7 +6844,6 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -7483,8 +6851,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 `:`
@@ -7495,7 +6861,6 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -7505,7 +6870,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; @@ -7516,8 +6882,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 `:`
@@ -7528,18 +6892,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; } @@ -7549,8 +6914,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 `:`
@@ -7561,22 +6924,20 @@ 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) { + public Builder setFamilyNameRegexFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 5; + 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 `:`
@@ -7587,7 +6948,6 @@ public Builder setFamilyNameRegexFilter(java.lang.String value) {
      * 
* * string family_name_regex_filter = 5; - * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -7599,8 +6959,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 `:`
@@ -7611,15 +6969,15 @@ 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) { + public Builder setFamilyNameRegexFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; onChanged(); @@ -7627,8 +6985,6 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7639,15 +6995,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.
@@ -7658,7 +7011,6 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7668,8 +7020,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.
@@ -7680,22 +7030,19 @@ 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(); - } - filterCase_ = 6; + throw new NullPointerException(); + } + filterCase_ = 6; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7706,7 +7053,6 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7719,19 +7065,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 @@ -7739,14 +7079,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 @@ -7764,8 +7101,6 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7786,8 +7121,6 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7806,8 +7139,6 @@ public Builder setColumnRangeFilter( return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7816,13 +7147,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; } @@ -7838,8 +7166,6 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7863,8 +7189,6 @@ public Builder clearColumnRangeFilter() { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7875,8 +7199,6 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7895,8 +7217,6 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7904,42 +7224,32 @@ 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; - onChanged(); - ; + onChanged();; return columnRangeFilterBuilder_; } 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 @@ -7947,14 +7257,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 @@ -7972,8 +7279,6 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7994,8 +7299,6 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8014,8 +7317,6 @@ public Builder setTimestampRangeFilter( return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8024,13 +7325,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; } @@ -8046,8 +7344,6 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8071,8 +7367,6 @@ public Builder clearTimestampRangeFilter() { return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8083,8 +7377,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8103,8 +7395,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8112,31 +7402,25 @@ 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; - onChanged(); - ; + onChanged();; return timestampRangeFilterBuilder_; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8146,15 +7430,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
@@ -8164,7 +7445,6 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -8174,8 +7454,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
@@ -8185,22 +7463,19 @@ 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(); - } - filterCase_ = 9; + 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
@@ -8210,7 +7485,6 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; - * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -8223,19 +7497,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 @@ -8243,14 +7511,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 @@ -8268,8 +7533,6 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8290,15 +7553,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(); @@ -8309,8 +7571,6 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8319,13 +7579,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; } @@ -8341,8 +7598,6 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8366,8 +7621,6 @@ public Builder clearValueRangeFilter() { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8378,8 +7631,6 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8398,8 +7649,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8407,31 +7656,25 @@ 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; - onChanged(); - ; + onChanged();; return valueRangeFilterBuilder_; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8439,15 +7682,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,
@@ -8455,7 +7695,6 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -8465,8 +7704,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,
@@ -8474,7 +7711,6 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -8485,8 +7721,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,
@@ -8494,7 +7728,6 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -8507,8 +7740,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,
@@ -8516,15 +7747,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,
@@ -8532,7 +7760,6 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -8542,8 +7769,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,
@@ -8551,7 +7776,6 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -8562,8 +7786,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,
@@ -8571,7 +7793,6 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -8584,8 +7805,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,
@@ -8596,15 +7815,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,
@@ -8615,7 +7831,6 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -8625,8 +7840,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,
@@ -8637,7 +7850,6 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -8648,8 +7860,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,
@@ -8660,7 +7870,6 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -8673,28 +7882,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() { @@ -8704,14 +7907,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. */ @@ -8722,14 +7922,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() { @@ -8742,8 +7939,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
@@ -8759,7 +7954,6 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -8767,8 +7961,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
@@ -8784,7 +7976,6 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ @java.lang.Override @@ -8794,7 +7985,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; @@ -8805,8 +7997,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
@@ -8822,18 +8012,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; } @@ -8843,8 +8034,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
@@ -8860,22 +8049,20 @@ 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) { + public Builder setApplyLabelTransformer( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 19; + 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
@@ -8891,7 +8078,6 @@ public Builder setApplyLabelTransformer(java.lang.String value) {
      * 
* * string apply_label_transformer = 19; - * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -8903,8 +8089,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
@@ -8920,23 +8104,23 @@ 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) { + public Builder setApplyLabelTransformerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -8946,12 +8130,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(); } @@ -8960,27 +8144,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; @@ -8995,4 +8179,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 2f3f4f8402..7041e263cc 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -198,13 +156,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
@@ -263,68 +218,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
@@ -336,13 +276,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
@@ -354,41 +291,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 `:`
@@ -399,13 +327,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 `:`
@@ -416,13 +341,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 `:`
@@ -433,14 +355,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.
@@ -451,13 +371,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.
@@ -468,38 +385,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.
    * 
@@ -509,32 +417,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.
    * 
@@ -544,8 +444,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
@@ -555,13 +453,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
@@ -571,38 +466,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.
    * 
@@ -612,8 +498,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,
@@ -621,13 +505,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,
@@ -635,14 +516,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,
@@ -650,13 +528,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,
@@ -664,14 +539,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,
@@ -682,13 +554,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,
@@ -699,39 +568,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
@@ -747,13 +607,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
@@ -769,13 +626,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
@@ -791,10 +645,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - com.google.protobuf.ByteString getApplyLabelTransformerBytes(); + com.google.protobuf.ByteString + getApplyLabelTransformerBytes(); public 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 c1943694c3..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 a9cdcc73c4..f52b9753a1 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,80 +1,61 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -90,38 +71,32 @@ 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; 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; } @@ -137,36 +112,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 @@ -174,14 +143,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 @@ -194,14 +160,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 @@ -209,14 +172,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 @@ -229,14 +189,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 @@ -244,14 +201,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 @@ -264,14 +218,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 @@ -279,14 +230,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 @@ -298,7 +246,6 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,18 +257,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); } @@ -333,24 +285,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; @@ -360,7 +312,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowRange)) { return super.equals(obj); @@ -370,10 +322,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: @@ -381,10 +335,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: @@ -429,134 +385,130 @@ 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 @@ -612,39 +564,38 @@ public com.google.bigtable.v2.RowRange 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.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange) other); + return mergeFrom((com.google.bigtable.v2.RowRange)other); } else { super.mergeFrom(other); return this; @@ -654,36 +605,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(); @@ -711,37 +656,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) { @@ -751,12 +691,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() { @@ -768,9 +708,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() { @@ -780,29 +721,24 @@ public Builder clearEndKey() { return this; } + /** - * - * *
      * 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() { @@ -812,35 +748,29 @@ 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(); - } - startKeyCase_ = 1; + 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() { @@ -853,28 +783,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() { @@ -884,35 +808,29 @@ 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(); - } - startKeyCase_ = 2; + 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() { @@ -925,28 +843,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() { @@ -956,35 +868,29 @@ 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(); - } - endKeyCase_ = 3; + 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() { @@ -997,28 +903,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() { @@ -1028,35 +928,29 @@ 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(); - } - endKeyCase_ = 4; + 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() { @@ -1067,9 +961,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); } @@ -1079,12 +973,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(); } @@ -1093,27 +987,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; @@ -1128,4 +1022,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 9f5960e966..e92110f0a7 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 73% 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 86d5b281a9..3e21d4a49b 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,24 +26,25 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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); } @@ -69,43 +52,35 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int ROW_KEYS_FIELD_NUMBER = 1; 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. */ @@ -116,8 +91,6 @@ public com.google.protobuf.ByteString getRowKeys(int index) { public static final int ROW_RANGES_FIELD_NUMBER = 2; private java.util.List rowRanges_; /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -129,8 +102,6 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -138,13 +109,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.
    * 
@@ -156,8 +125,6 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -169,8 +136,6 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -178,12 +143,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; @@ -195,7 +160,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -214,13 +180,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; @@ -230,15 +198,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; } @@ -263,133 +233,130 @@ 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(); @@ -406,7 +373,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; } @@ -450,39 +418,38 @@ public com.google.bigtable.v2.RowSet 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.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet) other); + return mergeFrom((com.google.bigtable.v2.RowSet)other); } else { super.mergeFrom(other); return this; @@ -519,10 +486,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_); } @@ -554,32 +520,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) { @@ -589,57 +554,45 @@ 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_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * 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. */ @@ -647,76 +600,66 @@ 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) { + public Builder setRowKeys( + int index, com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - ensureRowKeysIsMutable(); + 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(); - } - ensureRowKeysIsMutable(); + 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() { @@ -727,24 +670,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.
      * 
@@ -759,8 +696,6 @@ public java.util.List getRowRangesList() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -775,8 +710,6 @@ public int getRowRangesCount() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -791,15 +724,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(); @@ -813,8 +745,6 @@ public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -833,8 +763,6 @@ public Builder setRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -855,15 +783,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(); @@ -877,15 +804,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()); @@ -896,8 +822,6 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForVa return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -916,8 +840,6 @@ public Builder addRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -928,7 +850,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); @@ -936,8 +859,6 @@ public Builder addAllRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -955,8 +876,6 @@ public Builder clearRowRanges() { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -974,44 +893,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 { @@ -1019,8 +933,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -1028,54 +940,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); } @@ -1085,12 +992,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(); } @@ -1099,27 +1006,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; @@ -1134,4 +1041,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 31f8fb9677..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 6bebd6765d..dde5b49404 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,45 +26,39 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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 @@ -91,33 +67,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 { @@ -128,15 +102,12 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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 @@ -145,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 = 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 { @@ -177,7 +148,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -189,7 +159,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -219,16 +190,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; } @@ -249,136 +221,130 @@ 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(); @@ -390,9 +356,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 @@ -411,8 +377,7 @@ 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); + com.google.bigtable.v2.SampleRowKeysRequest result = new com.google.bigtable.v2.SampleRowKeysRequest(this); result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; onBuilt(); @@ -423,39 +388,38 @@ public com.google.bigtable.v2.SampleRowKeysRequest 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.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); } else { super.mergeFrom(other); return this; @@ -498,25 +462,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -529,24 +490,20 @@ public Builder mergeFrom( 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; @@ -555,25 +512,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 { @@ -581,73 +535,60 @@ 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) { + public Builder setTableName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -655,21 +596,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; @@ -678,22 +617,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 { @@ -701,71 +639,64 @@ 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) { + public Builder setAppProfileId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = 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); } @@ -775,12 +706,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(); } @@ -789,27 +720,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; @@ -824,4 +755,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 530f63e413..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 64730abc0c..49ff5a7872 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,77 +1,56 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * 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,
@@ -83,7 +62,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -94,8 +72,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; 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
@@ -104,7 +80,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -113,7 +88,6 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +99,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -142,10 +117,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; @@ -155,16 +132,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; } @@ -179,142 +157,137 @@ 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(); @@ -326,9 +299,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 @@ -347,8 +320,7 @@ 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); + com.google.bigtable.v2.SampleRowKeysResponse result = new com.google.bigtable.v2.SampleRowKeysResponse(this); result.rowKey_ = rowKey_; result.offsetBytes_ = offsetBytes_; onBuilt(); @@ -359,39 +331,38 @@ public com.google.bigtable.v2.SampleRowKeysResponse 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.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -432,25 +403,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - - break; - } // case 10 - case 16: - { - offsetBytes_ = input.readInt64(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + + break; + } // case 10 + case 16: { + offsetBytes_ = input.readInt64(); + + 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) { @@ -463,8 +431,6 @@ public Builder mergeFrom( 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,
@@ -476,7 +442,6 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -484,8 +449,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,
@@ -497,22 +460,19 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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,
@@ -524,20 +484,17 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); 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
@@ -546,7 +503,6 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -554,8 +510,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
@@ -564,19 +518,16 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; - * * @param value The offsetBytes to set. * @return This builder for chaining. */ public Builder setOffsetBytes(long value) { - + offsetBytes_ = value; onChanged(); 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
@@ -585,18 +536,17 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; - * * @return This builder for chaining. */ public Builder clearOffsetBytes() { - + offsetBytes_ = 0L; 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); } @@ -606,12 +556,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(); } @@ -620,27 +570,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; @@ -655,4 +605,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 a6dac71fbb..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/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 b570b88de0..a10d619304 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,81 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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_; /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -86,14 +65,11 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_; /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -102,7 +78,6 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -114,7 +89,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -131,10 +107,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; @@ -144,15 +122,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -165,143 +145,140 @@ 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(); @@ -313,9 +290,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 @@ -334,8 +311,7 @@ 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); + com.google.bigtable.v2.TimestampRange result = new com.google.bigtable.v2.TimestampRange(this); result.startTimestampMicros_ = startTimestampMicros_; result.endTimestampMicros_ = endTimestampMicros_; onBuilt(); @@ -346,39 +322,38 @@ public com.google.bigtable.v2.TimestampRange 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.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange) other); + return mergeFrom((com.google.bigtable.v2.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -419,25 +394,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - startTimestampMicros_ = input.readInt64(); - - break; - } // case 8 - case 16: - { - endTimestampMicros_ = input.readInt64(); - - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + startTimestampMicros_ = input.readInt64(); + + break; + } // case 8 + case 16: { + endTimestampMicros_ = input.readInt64(); + + 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) { @@ -448,16 +420,13 @@ public Builder mergeFrom( return this; } - 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 @@ -465,51 +434,42 @@ 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. */ public Builder setStartTimestampMicros(long value) { - + startTimestampMicros_ = value; onChanged(); return this; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { - + startTimestampMicros_ = 0L; onChanged(); 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 @@ -517,43 +477,37 @@ 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. */ public Builder setEndTimestampMicros(long value) { - + endTimestampMicros_ = value; onChanged(); return this; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { - + endTimestampMicros_ = 0L; 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); } @@ -563,12 +517,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(); } @@ -577,27 +531,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; @@ -612,4 +566,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 a531978ae1..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 b9ad1af05f..7ca8a2532c 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,82 +1,61 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - - 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; 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; } @@ -92,38 +71,32 @@ 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; 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; } @@ -139,36 +112,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 @@ -176,14 +143,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 @@ -196,14 +160,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 @@ -211,14 +172,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 @@ -231,14 +189,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 @@ -246,14 +201,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 @@ -266,14 +218,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 @@ -281,14 +230,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 @@ -300,7 +246,6 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,18 +257,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); } @@ -335,24 +285,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; @@ -362,7 +312,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ValueRange)) { return super.equals(obj); @@ -372,10 +322,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: @@ -383,10 +335,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: @@ -431,135 +385,130 @@ 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 @@ -615,39 +564,38 @@ public com.google.bigtable.v2.ValueRange 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.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange) other); + return mergeFrom((com.google.bigtable.v2.ValueRange)other); } else { super.mergeFrom(other); return this; @@ -657,36 +605,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(); @@ -714,37 +656,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) { @@ -754,12 +691,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() { @@ -771,9 +708,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() { @@ -783,29 +721,24 @@ public Builder clearEndValue() { return this; } + /** - * - * *
      * 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() { @@ -815,35 +748,29 @@ 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(); - } - startValueCase_ = 1; + 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() { @@ -856,28 +783,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() { @@ -887,35 +808,29 @@ 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(); - } - startValueCase_ = 2; + 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() { @@ -928,28 +843,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() { @@ -959,35 +868,29 @@ 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(); - } - endValueCase_ = 3; + 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() { @@ -1000,28 +903,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() { @@ -1031,35 +928,29 @@ 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(); - } - endValueCase_ = 4; + 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() { @@ -1070,9 +961,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); } @@ -1082,12 +973,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(); } @@ -1096,27 +987,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; @@ -1131,4 +1022,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 75% 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 dbd31d63bd..7bd8805068 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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 90% 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 index 090c60eb71..955a05611e 100644 --- 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 @@ -68,7 +68,9 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name"; option (google.api.method_signature) = "table_name,app_profile_id"; @@ -78,8 +80,7 @@ service Bigtable { // delimit contiguous sections of the table of approximately equal size, // which can be used to break up the data for distributed tasks like // mapreduces. - rpc SampleRowKeys(SampleRowKeysRequest) - returns (stream SampleRowKeysResponse) { + rpc SampleRowKeys(SampleRowKeysRequest) returns (stream SampleRowKeysResponse) { option (google.api.http) = { get: "/v2/{table_name=projects/*/instances/*/tables/*}:sampleRowKeys" }; @@ -88,7 +89,9 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name"; option (google.api.method_signature) = "table_name,app_profile_id"; @@ -106,11 +109,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,row_key,mutations"; - option (google.api.method_signature) = - "table_name,row_key,mutations,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,mutations,app_profile_id"; } // Mutates multiple rows in a batch. Each individual row is mutated @@ -126,15 +130,16 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,entries"; option (google.api.method_signature) = "table_name,entries,app_profile_id"; } // Mutates a row atomically based on the output of a predicate Reader filter. - rpc CheckAndMutateRow(CheckAndMutateRowRequest) - returns (CheckAndMutateRowResponse) { + rpc CheckAndMutateRow(CheckAndMutateRowRequest) returns (CheckAndMutateRowResponse) { option (google.api.http) = { post: "/v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateRow" body: "*" @@ -144,12 +149,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; - option (google.api.method_signature) = - "table_name,row_key,predicate_filter,true_mutations,false_mutations"; - option (google.api.method_signature) = - "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,predicate_filter,true_mutations,false_mutations"; + option (google.api.method_signature) = "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id"; } // Warm up associated instance metadata for this connection. @@ -164,7 +169,9 @@ service Bigtable { field: "name" path_template: "{name=projects/*/instances/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "name"; option (google.api.method_signature) = "name,app_profile_id"; @@ -175,8 +182,7 @@ service Bigtable { // 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. - rpc ReadModifyWriteRow(ReadModifyWriteRowRequest) - returns (ReadModifyWriteRowResponse) { + rpc ReadModifyWriteRow(ReadModifyWriteRowRequest) returns (ReadModifyWriteRowResponse) { option (google.api.http) = { post: "/v2/{table_name=projects/*/instances/*/tables/*}:readModifyWriteRow" body: "*" @@ -186,11 +192,12 @@ service Bigtable { field: "table_name" path_template: "{table_name=projects/*/instances/*/tables/*}" } - routing_parameters { field: "app_profile_id" } + routing_parameters { + field: "app_profile_id" + } }; option (google.api.method_signature) = "table_name,row_key,rules"; - option (google.api.method_signature) = - "table_name,row_key,rules,app_profile_id"; + option (google.api.method_signature) = "table_name,row_key,rules,app_profile_id"; } } @@ -208,12 +215,9 @@ message ReadRowsRequest { // RequestStats embedded message unset in the response. REQUEST_STATS_NONE = 1; - // Include stats related to the efficiency of the read. - REQUEST_STATS_EFFICIENCY = 2; - // Include the full set of available RequestStats in the response, // applicable to this read. - REQUEST_STATS_FULL = 3; + REQUEST_STATS_FULL = 2; } // Required. The unique name of the table from which to read. @@ -384,8 +388,8 @@ message SampleRowKeysResponse { // Request message for Bigtable.MutateRow. message MutateRowRequest { - // Required. The unique name of the table to which the mutation should be - // applied. Values are of the form + // Required. The unique name of the table to which the mutation should be applied. + // Values are of the form // `projects//instances//tables/
`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -401,14 +405,16 @@ message MutateRowRequest { // Required. The key of the row to which the mutation should be applied. bytes row_key = 2 [(google.api.field_behavior) = REQUIRED]; - // 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. + // 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 Mutation mutations = 3 [(google.api.field_behavior) = REQUIRED]; } // Response message for Bigtable.MutateRow. -message MutateRowResponse {} +message MutateRowResponse { + +} // Request message for BigtableService.MutateRows. message MutateRowsRequest { @@ -417,14 +423,14 @@ message MutateRowsRequest { // The key of the row to which the `mutations` should be applied. bytes row_key = 1; - // 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. + // 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 Mutation mutations = 2 [(google.api.field_behavior) = REQUIRED]; } - // Required. The unique name of the table to which the mutations should be - // applied. + // 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) = { @@ -465,8 +471,9 @@ message MutateRowsResponse { // Request message for Bigtable.CheckAndMutateRow. message CheckAndMutateRowRequest { - // Required. The unique name of the table to which the conditional mutation - // should be applied. Values are of the form + // Required. The unique name of the table to which the conditional mutation should be + // applied. + // Values are of the form // `projects//instances//tables/
`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -479,8 +486,7 @@ message CheckAndMutateRowRequest { // "default" application profile will be used. string app_profile_id = 7; - // Required. The key of the row to which the conditional mutation should be - // applied. + // Required. The key of the row to which the conditional mutation should be applied. bytes row_key = 2 [(google.api.field_behavior) = REQUIRED]; // The filter to be applied to the contents of the specified row. Depending @@ -513,9 +519,8 @@ message CheckAndMutateRowResponse { // Request message for client connection keep-alive and warming. message PingAndWarmRequest { - // Required. The unique name of the instance to check permissions for as well - // as respond. Values are of the form - // `projects//instances/`. + // Required. The unique name of the instance to check permissions for as well as + // respond. Values are of the form `projects//instances/`. string name = 1 [ (google.api.field_behavior) = REQUIRED, (google.api.resource_reference) = { @@ -533,8 +538,9 @@ message PingAndWarmResponse {} // Request message for Bigtable.ReadModifyWriteRow. message ReadModifyWriteRowRequest { - // Required. The unique name of the table to which the read/modify/write rules - // should be applied. Values are of the form + // Required. The unique name of the table to which the read/modify/write rules should be + // applied. + // Values are of the form // `projects//instances//tables/
`. string table_name = 1 [ (google.api.field_behavior) = REQUIRED, @@ -547,15 +553,13 @@ message ReadModifyWriteRowRequest { // "default" application profile will be used. string app_profile_id = 4; - // Required. The key of the row to which the read/modify/write rules should be - // applied. + // 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]; - // 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 ReadModifyWriteRule rules = 3 - [(google.api.field_behavior) = REQUIRED]; + // 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 ReadModifyWriteRule rules = 3 [(google.api.field_behavior) = REQUIRED]; } // Response message for Bigtable.ReadModifyWriteRow. 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/request_stats.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto similarity index 72% 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 index 101603504d..f650abe09c 100644 --- 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 @@ -27,13 +27,23 @@ option php_namespace = "Google\\Cloud\\Bigtable\\V2"; option ruby_package = "Google::Cloud::Bigtable::V2"; // -// Messages related to RequestStats, part of the Slow Queries feature, that can +// Messages related to RequestStats, part of the Query Stats feature, that can // help understand the performance of requests. - -// ReadIteratorStats captures information about the iteration of rows or cells +// +// The layout of requests below is as follows: +// * RequestStats serves as the top-level container for statistics and +// measures related to Bigtable requests. This common object is returned as +// part of methods in the Data API. +// * RequestStats contains multiple *views* of related data, chosen by an +// option in the source Data API method. The view that is returned is +// designed to have all submessages (and their submessages, and so on) +// filled-in, to provide a comprehensive selection of statistics and +// measures related to the requested view. + +// 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 // operation versus the results returned. -message ReadIteratorStats { +message ReadIterationStats { // The rows seen (scanned) as part of the request. This includes the count of // rows returned, as captured below. int64 rows_seen_count = 1; @@ -47,9 +57,6 @@ message ReadIteratorStats { // The cells returned as part of the request. int64 cells_returned_count = 4; - - // The deletes seen as part of the request. - int64 deletes_seen_count = 5; } // RequestLatencyStats provides a measurement of the latency of the request as @@ -66,29 +73,23 @@ message RequestLatencyStats { // (https://cloud.google.com/bigtable/docs/monitoring-instance) as this value // needs to be sent in the response before the latency measurement including // that transmission is finalized. + // + // Note: This value includes the end-to-end latency of contacting nodes in + // the targeted cluster, e.g. measuring from when the first byte arrives at + // the frontend server, to when this value is sent back as the last value in + // the response, including any latency incurred by contacting nodes, waiting + // for results from nodes, and finally sending results from nodes back to the + // caller. google.protobuf.Duration frontend_server_latency = 1; } -// ReadEfficiencyStats captures information about the efficiency of a read. -message ReadEfficiencyStats { +// FullReadStatsView captures all known information about a read. +message FullReadStatsView { // 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 // indication of read efficiency (the higher the ratio of seen to retuned the // better). - ReadIteratorStats read_iterator_stats = 1; - - // Request latency stats describe the time taken to complete a request, from - // the server side. - RequestLatencyStats request_latency_stats = 2; -} - -// AllReadStats captures all known information about a read. -message AllReadStats { - // 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 - // indication of read efficiency (the higher the ratio of seen to retuned the - // better). - ReadIteratorStats read_iterator_stats = 1; + ReadIterationStats read_iteration_stats = 1; // Request latency stats describe the time taken to complete a request, from // the server side. @@ -104,14 +105,9 @@ message RequestStats { // based on the requested view. // // See the messages above for additional context. - oneof stats { - // Available with the - // ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see - // package google.bigtable.v2. - ReadEfficiencyStats read_efficiency_stats = 1; - + oneof stats_view { // Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL // view, see package google.bigtable.v2. - AllReadStats all_read_stats = 2; + FullReadStatsView full_read_stats_view = 1; } } 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 95ee4502f1..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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\"\333\002\n\025Crea" - + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" - + "-\n+cloudresourcemanager.googleapis.com/P" - + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" - + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" - + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" - + "igtable.admin.v2.CreateInstanceRequest.C" - + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" - + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" - + ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" - + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" - + ".googleapis.com/Instance\"o\n\024ListInstance" - + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" - + "esourcemanager.googleapis.com/Project\022\022\n" - + "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" - + "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" - + ".admin.v2.Instance\022\030\n\020failed_locations\030\002" - + " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" - + "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" - + "2\".google.bigtable.admin.v2.InstanceB\003\340A" - + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" - + ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" - + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" - + "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" - + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" - + "admin.googleapis.com/Instance\022\027\n\ncluster" - + "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" - + ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" - + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" - + "ableadmin.googleapis.com/Cluster\"h\n\023List" - + "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" - + "%bigtableadmin.googleapis.com/Instance\022\022" - + "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" - + "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" - + "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" - + "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" - + "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" - + "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" - + "eInstanceMetadata\022I\n\020original_request\030\001 " - + "\001(\0132/.google.bigtable.admin.v2.CreateIns" - + "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " - + "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" - + "teInstanceMetadata\022P\n\020original_request\030\001" - + " \001(\01326.google.bigtable.admin.v2.PartialU" - + "pdateInstanceRequest\0220\n\014request_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" - + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" - + "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" - + "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" - + "reateClusterRequest\0220\n\014request_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" - + "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" - + "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" - + "TableProgress\022\034\n\024estimated_size_bytes\030\002 " - + "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" - + "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" - + "eateClusterMetadata.TableProgress.State\"" - + "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" - + "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" - + "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" - + "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" - + "eateClusterMetadata.TableProgress:\0028\001\"\267\001" - + "\n\025UpdateClusterMetadata\022;\n\020original_requ" - + "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" - + "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" - + "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" - + ".google.protobuf.Timestamp\022/\n\013finish_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" - + "riginal_request\030\003 \001(\01325.google.bigtable." - + "admin.v2.PartialUpdateClusterRequest\"\214\001\n" - + "\033PartialUpdateClusterRequest\0227\n\007cluster\030" - + "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" - + "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" - + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" - + "eadmin.googleapis.com/Instance\022\033\n\016app_pr" - + "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" - + "2$.google.bigtable.admin.v2.AppProfileB\003" - + "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" - + "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" - + "ableadmin.googleapis.com/AppProfile\"~\n\026L" - + "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" - + "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" - + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " - + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" - + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" - + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" - + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" - + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" - + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" - + "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" - + "A)\n\'bigtableadmin.googleapis.com/AppProf" - + "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" - + "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" - + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" - + "eadmin.googleapis.com/Cluster\022.\n\nstart_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" - + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" - + "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" - + "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" - + "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" - + "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" - + "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" - + "oogle.bigtable.admin.v2.CreateInstanceRe" - + "quest\032\035.google.longrunning.Operation\"x\202\323" - + "\344\223\002&\"!/v2/{parent=projects/*}/instances:" - + "\001*\332A$parent,instance_id,instance,cluster" - + "s\312A\"\n\010Instance\022\026CreateInstanceMetadata\022\221" - + "\001\n\013GetInstance\022,.google.bigtable.admin.v" - + "2.GetInstanceRequest\032\".google.bigtable.a" - + "dmin.v2.Instance\"0\202\323\344\223\002#\022!/v2/{name=proj" - + "ects/*/instances/*}\332A\004name\022\244\001\n\rListInsta" - + "nces\022..google.bigtable.admin.v2.ListInst" - + "ancesRequest\032/.google.bigtable.admin.v2." - + "ListInstancesResponse\"2\202\323\344\223\002#\022!/v2/{pare" - + "nt=projects/*}/instances\332A\006parent\022\206\001\n\016Up" - + "dateInstance\022\".google.bigtable.admin.v2." - + "Instance\032\".google.bigtable.admin.v2.Inst" - + "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" - + "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" - + "oogle.bigtable.admin.v2.PartialUpdateIns" - + "tanceRequest\032\035.google.longrunning.Operat" - + "ion\"x\202\323\344\223\00262*/v2/{instance.name=projects" - + "/*/instances/*}:\010instance\332A\024instance,upd" - + "ate_mask\312A\"\n\010Instance\022\026UpdateInstanceMet" - + "adata\022\213\001\n\016DeleteInstance\022/.google.bigtab" - + "le.admin.v2.DeleteInstanceRequest\032\026.goog" - + "le.protobuf.Empty\"0\202\323\344\223\002#*!/v2/{name=pro" - + "jects/*/instances/*}\332A\004name\022\334\001\n\rCreateCl" - + "uster\022..google.bigtable.admin.v2.CreateC" - + "lusterRequest\032\035.google.longrunning.Opera" - + "tion\"|\202\323\344\223\0027\",/v2/{parent=projects/*/ins" - + "tances/*}/clusters:\007cluster\332A\031parent,clu" - + "ster_id,cluster\312A \n\007Cluster\022\025CreateClust" - + "erMetadata\022\231\001\n\nGetCluster\022+.google.bigta" - + "ble.admin.v2.GetClusterRequest\032!.google." - + "bigtable.admin.v2.Cluster\";\202\323\344\223\002.\022,/v2/{" - + "name=projects/*/instances/*/clusters/*}\332" - + "A\004name\022\254\001\n\014ListClusters\022-.google.bigtabl" - + "e.admin.v2.ListClustersRequest\032..google." - + "bigtable.admin.v2.ListClustersResponse\"=" - + "\202\323\344\223\002.\022,/v2/{parent=projects/*/instances" - + "/*}/clusters\332A\006parent\022\255\001\n\rUpdateCluster\022" - + "!.google.bigtable.admin.v2.Cluster\032\035.goo" - + "gle.longrunning.Operation\"Z\202\323\344\223\0021\032,/v2/{" - + "name=projects/*/instances/*/clusters/*}:" - + "\001*\312A \n\007Cluster\022\025UpdateClusterMetadata\022\364\001" - + "\n\024PartialUpdateCluster\0225.google.bigtable" - + ".admin.v2.PartialUpdateClusterRequest\032\035." - + "google.longrunning.Operation\"\205\001\202\323\344\223\002?24/" - + "v2/{cluster.name=projects/*/instances/*/" - + "clusters/*}:\007cluster\332A\023cluster,update_ma" - + "sk\312A\'\n\007Cluster\022\034PartialUpdateClusterMeta" - + "data\022\224\001\n\rDeleteCluster\022..google.bigtable" - + ".admin.v2.DeleteClusterRequest\032\026.google." - + "protobuf.Empty\";\202\323\344\223\002.*,/v2/{name=projec" - + "ts/*/instances/*/clusters/*}\332A\004name\022\325\001\n\020" - + "CreateAppProfile\0221.google.bigtable.admin" - + ".v2.CreateAppProfileRequest\032$.google.big" - + "table.admin.v2.AppProfile\"h\202\323\344\223\002>\"//v2/{" - + "parent=projects/*/instances/*}/appProfil" - + "es:\013app_profile\332A!parent,app_profile_id," - + "app_profile\022\245\001\n\rGetAppProfile\022..google.b" - + "igtable.admin.v2.GetAppProfileRequest\032$." - + "google.bigtable.admin.v2.AppProfile\">\202\323\344" - + "\223\0021\022//v2/{name=projects/*/instances/*/ap" - + "pProfiles/*}\332A\004name\022\270\001\n\017ListAppProfiles\022" - + "0.google.bigtable.admin.v2.ListAppProfil" - + "esRequest\0321.google.bigtable.admin.v2.Lis" - + "tAppProfilesResponse\"@\202\323\344\223\0021\022//v2/{paren" - + "t=projects/*/instances/*}/appProfiles\332A\006" - + "parent\022\372\001\n\020UpdateAppProfile\0221.google.big" - + "table.admin.v2.UpdateAppProfileRequest\032\035" - + ".google.longrunning.Operation\"\223\001\202\323\344\223\002J2;" - + "/v2/{app_profile.name=projects/*/instanc" - + "es/*/appProfiles/*}:\013app_profile\332A\027app_p" - + "rofile,update_mask\312A&\n\nAppProfile\022\030Updat" - + "eAppProfileMetadata\022\235\001\n\020DeleteAppProfile" - + "\0221.google.bigtable.admin.v2.DeleteAppPro" - + "fileRequest\032\026.google.protobuf.Empty\">\202\323\344" - + "\223\0021*//v2/{name=projects/*/instances/*/ap" - + "pProfiles/*}\332A\004name\022\223\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"H\202\323\344\223\0027\"2/v2/{resource=p" - + "rojects/*/instances/*}:getIamPolicy:\001*\332A" - + "\010resource\022\232\001\n\014SetIamPolicy\022\".google.iam." - + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" - + "olicy\"O\202\323\344\223\0027\"2/v2/{resource=projects/*/" - + "instances/*}:setIamPolicy:\001*\332A\017resource," - + "policy\022\305\001\n\022TestIamPermissions\022(.google.i" - + "am.v1.TestIamPermissionsRequest\032).google" - + ".iam.v1.TestIamPermissionsResponse\"Z\202\323\344\223" - + "\002=\"8/v2/{resource=projects/*/instances/*" - + "}:testIamPermissions:\001*\332A\024resource,permi" - + "ssions\022\277\001\n\016ListHotTablets\022/.google.bigta" - + "ble.admin.v2.ListHotTabletsRequest\0320.goo" - + "gle.bigtable.admin.v2.ListHotTabletsResp" - + "onse\"J\202\323\344\223\002;\0229/v2/{parent=projects/*/ins" - + "tances/*/clusters/*}/hotTablets\332A\006parent" - + "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" - + "tps://www.googleapis.com/auth/bigtable.a" - + "dmin,https://www.googleapis.com/auth/big" - + "table.admin.cluster,https://www.googleap" - + "is.com/auth/bigtable.admin.instance,http" - + "s://www.googleapis.com/auth/cloud-bigtab" - + "le.admin,https://www.googleapis.com/auth" - + "/cloud-bigtable.admin.cluster,https://ww" - + "w.googleapis.com/auth/cloud-platform,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" - + "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" - + "ogle.golang.org/genproto/googleapis/bigt" - + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" - + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" - + "in\\V2\352\002\"Google::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 7fe2354129..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ /dev/null @@ -1,780 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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; - - 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\"\261\001\n\023RestoreTableRequest" - + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." - + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" - + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" - + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" - + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" - + "ource_type\030\002 \001(\0162+.google.bigtable.admin" - + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" - + "(\0132$.google.bigtable.admin.v2.BackupInfo" - + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" - + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" - + "min.v2.OperationProgressB\r\n\013source_info\"" - + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" - + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" - + "le.admin.v2.OperationProgress\"\201\002\n\022Create" - + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" - + "gtableadmin.googleapis.com/Instance\022\025\n\010t" - + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" - + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" - + "al_splits\030\004 \003(\01322.google.bigtable.admin." - + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" - + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" - + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" - + "min.googleapis.com/Instance\022\025\n\010table_id\030" - + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" - + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" - + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" - + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" - + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" - + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" - + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" - + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" - + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" - + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" - + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." - + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" - + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" - + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" - + "\0162$.google.bigtable.admin.v2.Table.View\"" - + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" - + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" - + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" - + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" - + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" - + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" - + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" - + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." - + "googleapis.com/Table\"P\n\024UndeleteTableReq" - + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" - + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" - + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" - + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" - + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" - + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" - + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" - + "igtable.admin.v2.ModifyColumnFamiliesReq" - + "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" - + "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" - + "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" - + "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" - + "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" - + "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" - + "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" - + "ble\"=\n GenerateConsistencyTokenResponse\022" - + "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" - + "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" - + "tableadmin.googleapis.com/Table\022\036\n\021consi" - + "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" - + "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" - + "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" - + "bigtableadmin.googleapis.com/Table\022=\n\007cl" - + "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" - + "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" - + "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" - + "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" - + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" - + "min.googleapis.com/Snapshot\"{\n\024ListSnaps" - + "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" - + "tableadmin.googleapis.com/Cluster\022\021\n\tpag" - + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" - + "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" - + "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" - + "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" - + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." - + "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" - + "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" - + "ogle.bigtable.admin.v2.SnapshotTableRequ" - + "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" - + "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" - + "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" - + "omSnapshotMetadata\022R\n\020original_request\030\001" - + " \001(\01328.google.bigtable.admin.v2.CreateTa" - + "bleFromSnapshotRequest\0220\n\014request_time\030\002" - + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" - + "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" - + "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" - + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" - + "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" - + "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" - + "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" - + "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" - + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" - + "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" - + "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" - + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" - + "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" - + "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" - + "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" - + "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" - + "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" - + "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" - + "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" - + "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" - + "backups\030\001 \003(\0132 .google.bigtable.admin.v2" - + ".Backup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Big" - + "tableTableAdmin\022\253\001\n\013CreateTable\022,.google" - + ".bigtable.admin.v2.CreateTableRequest\032\037." - + "google.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*" - + "/v2/{parent=projects/*/instances/*}/tabl" - + "es:\001*\332A\025parent,table_id,table\022\212\002\n\027Create" - + "TableFromSnapshot\0228.google.bigtable.admi" - + "n.v2.CreateTableFromSnapshotRequest\032\035.go" - + "ogle.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2" - + "/{parent=projects/*/instances/*}/tables:" - + "createFromSnapshot:\001*\332A\037parent,table_id," - + "source_snapshot\312A(\n\005Table\022\037CreateTableFr" - + "omSnapshotMetadata\022\244\001\n\nListTables\022+.goog" - + "le.bigtable.admin.v2.ListTablesRequest\032," - + ".google.bigtable.admin.v2.ListTablesResp" - + "onse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/ins" - + "tances/*}/tables\332A\006parent\022\221\001\n\010GetTable\022)" - + ".google.bigtable.admin.v2.GetTableReques" - + "t\032\037.google.bigtable.admin.v2.Table\"9\202\323\344\223" - + "\002,\022*/v2/{name=projects/*/instances/*/tab" - + "les/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.b" - + "igtable.admin.v2.UpdateTableRequest\032\035.go" - + "ogle.longrunning.Operation\"r\202\323\344\223\002920/v2/" - + "{table.name=projects/*/instances/*/table" - + "s/*}:\005table\332A\021table,update_mask\312A\034\n\005Tabl" - + "e\022\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022," - + ".google.bigtable.admin.v2.DeleteTableReq" - + "uest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v" - + "2/{name=projects/*/instances/*/tables/*}" - + "\332A\004name\022\306\001\n\rUndeleteTable\022..google.bigta" - + "ble.admin.v2.UndeleteTableRequest\032\035.goog" - + "le.longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{n" - + "ame=projects/*/instances/*/tables/*}:und" - + "elete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTable" - + "Metadata\022\317\001\n\024ModifyColumnFamilies\0225.goog" - + "le.bigtable.admin.v2.ModifyColumnFamilie" - + "sRequest\032\037.google.bigtable.admin.v2.Tabl" - + "e\"_\202\323\344\223\002D\"?/v2/{name=projects/*/instance" - + "s/*/tables/*}:modifyColumnFamilies:\001*\332A\022" - + "name,modifications\022\231\001\n\014DropRowRange\022-.go" - + "ogle.bigtable.admin.v2.DropRowRangeReque" - + "st\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/" - + "{name=projects/*/instances/*/tables/*}:d" - + "ropRowRange:\001*\022\350\001\n\030GenerateConsistencyTo" - + "ken\0229.google.bigtable.admin.v2.GenerateC" - + "onsistencyTokenRequest\032:.google.bigtable" - + ".admin.v2.GenerateConsistencyTokenRespon" - + "se\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instanc" - + "es/*/tables/*}:generateConsistencyToken:" - + "\001*\332A\004name\022\332\001\n\020CheckConsistency\0221.google." - + "bigtable.admin.v2.CheckConsistencyReques" - + "t\0322.google.bigtable.admin.v2.CheckConsis" - + "tencyResponse\"_\202\323\344\223\002@\";/v2/{name=project" - + "s/*/instances/*/tables/*}:checkConsisten" - + "cy:\001*\332A\026name,consistency_token\022\352\001\n\rSnaps" - + "hotTable\022..google.bigtable.admin.v2.Snap" - + "shotTableRequest\032\035.google.longrunning.Op" - + "eration\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/i" - + "nstances/*/tables/*}:snapshot:\001*\332A$name," - + "cluster,snapshot_id,description\312A!\n\010Snap" - + "shot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnaps" - + "hot\022,.google.bigtable.admin.v2.GetSnapsh" - + "otRequest\032\".google.bigtable.admin.v2.Sna" - + "pshot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/inst" - + "ances/*/clusters/*/snapshots/*}\332A\004name\022\273" - + "\001\n\rListSnapshots\022..google.bigtable.admin" - + ".v2.ListSnapshotsRequest\032/.google.bigtab" - + "le.admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002" - + ":\0228/v2/{parent=projects/*/instances/*/cl" - + "usters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteS" - + "napshot\022/.google.bigtable.admin.v2.Delet" - + "eSnapshotRequest\032\026.google.protobuf.Empty" - + "\"G\202\323\344\223\002:*8/v2/{name=projects/*/instances" - + "/*/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Cr" - + "eateBackup\022-.google.bigtable.admin.v2.Cr" - + "eateBackupRequest\032\035.google.longrunning.O" - + "peration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/" - + "*/instances/*/clusters/*}/backups:\006backu" - + "p\332A\027parent,backup_id,backup\312A\036\n\006Backup\022\024" - + "CreateBackupMetadata\022\240\001\n\tGetBackup\022*.goo" - + "gle.bigtable.admin.v2.GetBackupRequest\032 " - + ".google.bigtable.admin.v2.Backup\"E\202\323\344\223\0028" - + "\0226/v2/{name=projects/*/instances/*/clust" - + "ers/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup" - + "\022-.google.bigtable.admin.v2.UpdateBackup" - + "Request\032 .google.bigtable.admin.v2.Backu" - + "p\"b\202\323\344\223\002G2=/v2/{backup.name=projects/*/i" - + "nstances/*/clusters/*/backups/*}:\006backup" - + "\332A\022backup,update_mask\022\234\001\n\014DeleteBackup\022-" - + ".google.bigtable.admin.v2.DeleteBackupRe" - + "quest\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/" - + "v2/{name=projects/*/instances/*/clusters" - + "/*/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.g" - + "oogle.bigtable.admin.v2.ListBackupsReque" - + "st\032-.google.bigtable.admin.v2.ListBackup" - + "sResponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/" - + "*/instances/*/clusters/*}/backups\332A\006pare" - + "nt\022\273\001\n\014RestoreTable\022-.google.bigtable.ad" - + "min.v2.RestoreTableRequest\032\035.google.long" - + "running.Operation\"]\202\323\344\223\0027\"2/v2/{parent=p" - + "rojects/*/instances/*}/tables:restore:\001*" - + "\312A\035\n\005Table\022\024RestoreTableMetadata\022\354\001\n\014Get" - + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" - + "quest\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";" - + "/v2/{resource=projects/*/instances/*/tab" - + "les/*}:getIamPolicy:\001*ZL\"G/v2/{resource=" - + "projects/*/instances/*/clusters/*/backup" - + "s/*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetI" - + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" - + "uest\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/" - + "v2/{resource=projects/*/instances/*/tabl" - + "es/*}:setIamPolicy:\001*ZL\"G/v2/{resource=p" - + "rojects/*/instances/*/clusters/*/backups" - + "/*}:setIamPolicy:\001*\332A\017resource,policy\022\244\002" - + "\n\022TestIamPermissions\022(.google.iam.v1.Tes" - + "tIamPermissionsRequest\032).google.iam.v1.T" - + "estIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2" - + "/{resource=projects/*/instances/*/tables" - + "/*}:testIamPermissions:\001*ZR\"M/v2/{resour" - + "ce=projects/*/instances/*/clusters/*/bac" - + "kups/*}:testIamPermissions:\001*\332A\024resource" - + ",permissions\032\336\002\312A\034bigtableadmin.googleap" - + "is.com\322A\273\002https://www.googleapis.com/aut" - + "h/bigtable.admin,https://www.googleapis." - + "com/auth/bigtable.admin.table,https://ww" - + "w.googleapis.com/auth/cloud-bigtable.adm" - + "in,https://www.googleapis.com/auth/cloud" - + "-bigtable.admin.table,https://www.google" - + "apis.com/auth/cloud-platform,https://www" - + ".googleapis.com/auth/cloud-platform.read" - + "-onlyB\337\001\n\034com.google.bigtable.admin.v2B\027" - + "BigtableTableAdminProtoP\001Z=google.golang" - + ".org/genproto/googleapis/bigtable/admin/" - + "v2;admin\252\002\036Google.Cloud.Bigtable.Admin.V" - + "2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Goo" - + "gle::Cloud::Bigtable::Admin::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - 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", - }); - 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 a7caf4943a..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 e51426737e..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 140db00664..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 88c65b724d..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 2f53ef3e45..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 0a137b602d..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 f70089424e..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 9d70e81ddb..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 81049bc139..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 e020273ffe..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 e2a8898e2a..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 a4e313feb6..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 5d06a96344..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 e56c3bd5f1..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 2b73ddde21..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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\"" - + "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" - + "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" - + "gtable.admin.v2.Instance.State\0225\n\004type\030\004" - + " \001(\0162\'.google.bigtable.admin.v2.Instance" - + ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." - + "admin.v2.Instance.LabelsEntry\0224\n\013create_" - + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" - + "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" - + "LabelsEntry\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\005REA" - + "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" - + "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" - + "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" - + "tance\022\'projects/{project}/instances/{ins" - + "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" - + "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" - + "(\n storage_utilization_gib_per_node\030\003 \001(" - + "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" - + "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" - + "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" - + "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" - + "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" - + "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" - + "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" - + "ogle.bigtable.admin.v2.Cluster.ClusterCo" - + "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" - + "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" - + "\022R\n\021encryption_config\030\006 \001(\01322.google.big" - + "table.admin.v2.Cluster.EncryptionConfigB" - + "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" - + "oscaling_limits\030\001 \001(\0132+.google.bigtable." - + "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" - + "caling_targets\030\002 \001(\0132,.google.bigtable.a" - + "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" - + "erConfig\022^\n\032cluster_autoscaling_config\030\001" - + " \001(\0132:.google.bigtable.admin.v2.Cluster." - + "ClusterAutoscalingConfig\032P\n\020EncryptionCo" - + "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" - + "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" - + "TATE_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$bigt" - + "ableadmin.googleapis.com/Cluster\022:projec" - + "ts/{project}/instances/{instance}/cluste" - + "rs/{cluster}B\010\n\006config\"\210\004\n\nAppProfile\022\014\n" - + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" - + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" - + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" - + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" - + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" - + "e.admin.v2.AppProfile.SingleClusterRouti" - + "ngH\000\0320\n\031MultiClusterRoutingUseAny\022\023\n\013clu" - + "ster_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022" - + "\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_transactiona" - + "l_writes\030\002 \001(\010:o\352Al\n\'bigtableadmin.googl" - + "eapis.com/AppProfile\022Aprojects/{project}" - + "/instances/{instance}/appProfiles/{app_p" - + "rofile}B\020\n\016routing_policy\"\210\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\0223\n\nst" - + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0221\n\010end_time\030\004 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\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\003\340A\003:\177\352A|\n&bigtableadmin.googleap" - + "is.com/HotTablet\022Rprojects/{project}/ins" - + "tances/{instance}/clusters/{cluster}/hot" - + "Tablets/{hot_tablet}B\320\002\n\034com.google.bigt" - + "able.admin.v2B\rInstanceProtoP\001Z=google.g" - + "olang.org/genproto/googleapis/bigtable/a" - + "dmin/v2;admin\252\002\036Google.Cloud.Bigtable.Ad" - + "min.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352" - + "\002\"Google::Cloud::Bigtable::Admin::V2\352Ax\n" - + "!cloudkms.googleapis.com/CryptoKey\022Sproj" - + "ects/{project}/locations/{location}/keyR" - + "ings/{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 c6ca5e60c2..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ /dev/null @@ -1,339 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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_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\"\216\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016" - + "cluster_states\030\002 \003(\01322.google.bigtable.a" - + "dmin.v2.Table.ClusterStatesEntryB\003\340A\003\022L\n" - + "\017column_families\030\003 \003(\01323.google.bigtable" - + ".admin.v2.Table.ColumnFamiliesEntry\022N\n\013g" - + "ranularity\030\004 \001(\01624.google.bigtable.admin" - + ".v2.Table.TimestampGranularityB\003\340A\005\022@\n\014r" - + "estore_info\030\006 \001(\0132%.google.bigtable.admi" - + "n.v2.RestoreInfoB\003\340A\003\022\033\n\023deletion_protec" - + "tion\030\t \001(\010\032\306\002\n\014ClusterState\022]\n\021replicati" - + "on_state\030\001 \001(\0162=.google.bigtable.admin.v" - + "2.Table.ClusterState.ReplicationStateB\003\340" - + "A\003\022F\n\017encryption_info\030\002 \003(\0132(.google.big" - + "table.admin.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020R" - + "eplicationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014" - + "INITIALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022" - + "\031\n\025UNPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n" - + "\020READY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntr" - + "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.b" - + "igtable.admin.v2.Table.ClusterState:\0028\001\032" - + "]\n\023ColumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005v" - + "alue\030\002 \001(\0132&.google.bigtable.admin.v2.Co" - + "lumnFamily:\0028\001\"I\n\024TimestampGranularity\022%" - + "\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n" - + "\006MILLIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022" - + "\r\n\tNAME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLI" - + "CATION_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FU" - + "LL\020\004:_\352A\\\n\"bigtableadmin.googleapis.com/" - + "Table\0226projects/{project}/instances/{ins" - + "tance}/tables/{table}\"A\n\014ColumnFamily\0221\n" - + "\007gc_rule\030\001 \001(\0132 .google.bigtable.admin.v" - + "2.GcRule\"\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.protob" - + "uf.DurationH\000\022E\n\014intersection\030\003 \001(\0132-.go" - + "ogle.bigtable.admin.v2.GcRule.Intersecti" - + "onH\000\0227\n\005union\030\004 \001(\0132&.google.bigtable.ad" - + "min.v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n" - + "\005rules\030\001 \003(\0132 .google.bigtable.admin.v2." - + "GcRule\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google." - + "bigtable.admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016Enc" - + "ryptionInfo\022U\n\017encryption_type\030\003 \001(\01627.g" - + "oogle.bigtable.admin.v2.EncryptionInfo.E" - + "ncryptionTypeB\003\340A\003\0222\n\021encryption_status\030" - + "\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\022I\n\017kms_ke" - + "y_version\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.google" - + "apis.com/CryptoKeyVersion\"q\n\016EncryptionT" - + "ype\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031" - + "GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_" - + "MANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004nam" - + "e\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.b" - + "igtable.admin.v2.Table\022\027\n\017data_size_byte" - + "s\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032." - + "google.protobuf.Timestamp\0227\n\005state\030\006 \001(\016" - + "2(.google.bigtable.admin.v2.Snapshot.Sta" - + "te\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STAT" - + "E_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{" - + "\352Ax\n%bigtableadmin.googleapis.com/Snapsh" - + "ot\022Oprojects/{project}/instances/{instan" - + "ce}/clusters/{cluster}/snapshots/{snapsh" - + "ot}\"\237\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\034\n\014source_t" - + "able\030\002 \001(\tB\006\340A\005\340A\002\0224\n\013expire_time\030\003 \001(\0132" - + "\032.google.protobuf.TimestampB\003\340A\002\0223\n\nstar" - + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" - + "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu" - + "f.TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A" - + "\003\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin" - + ".v2.Backup.StateB\003\340A\003\022F\n\017encryption_info" - + "\030\t \001(\0132(.google.bigtable.admin.v2.Encryp" - + "tionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIF" - + "IED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#big" - + "tableadmin.googleapis.com/Backup\022Kprojec" - + "ts/{project}/instances/{instance}/cluste" - + "rs/{cluster}/backups/{backup}\"\244\001\n\nBackup" - + "Info\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030" - + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" - + "\n\010end_time\030\003 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003*D\n\021" - + "RestoreSourceType\022#\n\037RESTORE_SOURCE_TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.googl" - + "e.bigtable.admin.v2B\nTableProtoP\001Z=googl" - + "e.golang.org/genproto/googleapis/bigtabl" - + "e/admin/v2;admin\252\002\036Google.Cloud.Bigtable" - + ".Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\" - + "V2\352\002\"Google::Cloud::Bigtable::Admin::V2\352" - + "A\246\001\n(cloudkms.googleapis.com/CryptoKeyVe" - + "rsion\022zprojects/{project}/locations/{loc" - + "ation}/keyRings/{key_ring}/cryptoKeys/{c" - + "rypto_key}/cryptoKeyVersions/{crypto_key" - + "_version}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - 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_Table_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", - "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(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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", - "ExpireTime", - "StartTime", - "EndTime", - "SizeBytes", - "State", - "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - 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", - }); - 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 15fe8edcae..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 85c13fe4ee..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 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 eb6c1d8b08..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,436 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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_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; - - 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/wrappers.proto\032\027google/rpc/status.p" - + "roto\"\257\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" - + " \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.c" - + "om/Table\022\026\n\016app_profile_id\030\005 \001(\t\022(\n\004rows" - + "\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022-\n\006fi" - + "lter\030\003 \001(\0132\035.google.bigtable.v2.RowFilte" - + "r\022\022\n\nrows_limit\030\004 \001(\003\022P\n\022request_stats_v" - + "iew\030\006 \001(\01624.google.bigtable.v2.ReadRowsR" - + "equest.RequestStatsView\"\204\001\n\020RequestStats" - + "View\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000" - + "\022\026\n\022REQUEST_STATS_NONE\020\001\022\034\n\030REQUEST_STAT" - + "S_EFFICIENCY\020\002\022\026\n\022REQUEST_STATS_FULL\020\003\"\261" - + "\003\n\020ReadRowsResponse\022>\n\006chunks\030\001 \003(\0132..go" - + "ogle.bigtable.v2.ReadRowsResponse.CellCh" - + "unk\022\034\n\024last_scanned_row_key\030\002 \001(\014\0227\n\rreq" - + "uest_stats\030\003 \001(\0132 .google.bigtable.v2.Re" - + "questStats\032\205\002\n\tCellChunk\022\017\n\007row_key\030\001 \001(" - + "\014\0221\n\013family_name\030\002 \001(\0132\034.google.protobuf" - + ".StringValue\022.\n\tqualifier\030\003 \001(\0132\033.google" - + ".protobuf.BytesValue\022\030\n\020timestamp_micros" - + "\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value\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\"n\n\024Sa" - + "mpleRowKeysRequest\022>\n\ntable_name\030\001 \001(\tB*" - + "\340A\002\372A$\n\"bigtableadmin.googleapis.com/Tab" - + "le\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025SampleRowK" - + "eysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n\014offset_b" - + "ytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest\022>\n\ntable" - + "_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googl" - + "eapis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022" - + "\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutations\030\003 \003(\013" - + "2\034.google.bigtable.v2.MutationB\003\340A\002\"\023\n\021M" - + "utateRowResponse\"\376\001\n\021MutateRowsRequest\022>" - + "\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\022\026\n\016app_profile_id" - + "\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.google.bigtabl" - + "e.v2.MutateRowsRequest.EntryB\003\340A\002\032N\n\005Ent" - + "ry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutations\030\002 \003(\0132\034" - + ".google.bigtable.v2.MutationB\003\340A\002\"\217\001\n\022Mu" - + "tateRowsResponse\022=\n\007entries\030\001 \003(\0132,.goog" - + "le.bigtable.v2.MutateRowsResponse.Entry\032" - + ":\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002 \001(\0132" - + "\022.google.rpc.Status\"\256\002\n\030CheckAndMutateRo" - + "wRequest\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bi" - + "gtableadmin.googleapis.com/Table\022\026\n\016app_" - + "profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0227" - + "\n\020predicate_filter\030\006 \001(\0132\035.google.bigtab" - + "le.v2.RowFilter\0224\n\016true_mutations\030\004 \003(\0132" - + "\034.google.bigtable.v2.Mutation\0225\n\017false_m" - + "utations\030\005 \003(\0132\034.google.bigtable.v2.Muta" - + "tion\"6\n\031CheckAndMutateRowResponse\022\031\n\021pre" - + "dicate_matched\030\001 \001(\010\"i\n\022PingAndWarmReque" - + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." - + "googleapis.com/Instance\022\026\n\016app_profile_i" - + "d\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"\306\001\n\031ReadM" - + "odifyWriteRowRequest\022>\n\ntable_name\030\001 \001(\t" - + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" - + "able\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n\007row_key\030" - + "\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.google.bigta" - + "ble.v2.ReadModifyWriteRuleB\003\340A\002\"B\n\032ReadM" - + "odifyWriteRowResponse\022$\n\003row\030\001 \001(\0132\027.goo" - + "gle.bigtable.v2.Row2\260\024\n\010Bigtable\022\233\002\n\010Rea" - + "dRows\022#.google.bigtable.v2.ReadRowsReque" - + "st\032$.google.bigtable.v2.ReadRowsResponse" - + "\"\301\001\202\323\344\223\002>\"9/v2/{table_name=projects/*/in" - + "stances/*/tables/*}:readRows:\001*\212\323\344\223\002N\022:\n" - + "\ntable_name\022,{table_name=projects/*/inst" - + "ances/*/tables/*}\022\020\n\016app_profile_id\332A\nta" - + "ble_name\332A\031table_name,app_profile_id0\001\022\254" - + "\002\n\rSampleRowKeys\022(.google.bigtable.v2.Sa" - + "mpleRowKeysRequest\032).google.bigtable.v2." - + "SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022>/v2/{tab" - + "le_name=projects/*/instances/*/tables/*}" - + ":sampleRowKeys\212\323\344\223\002N\022:\n\ntable_name\022,{tab" - + "le_name=projects/*/instances/*/tables/*}" - + "\022\020\n\016app_profile_id\332A\ntable_name\332A\031table_" - + "name,app_profile_id0\001\022\301\002\n\tMutateRow\022$.go" - + "ogle.bigtable.v2.MutateRowRequest\032%.goog" - + "le.bigtable.v2.MutateRowResponse\"\346\001\202\323\344\223\002" - + "?\":/v2/{table_name=projects/*/instances/" - + "*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\ntable_" - + "name\022,{table_name=projects/*/instances/*" - + "/tables/*}\022\020\n\016app_profile_id\332A\034table_nam" - + "e,row_key,mutations\332A+table_name,row_key" - + ",mutations,app_profile_id\022\263\002\n\nMutateRows" - + "\022%.google.bigtable.v2.MutateRowsRequest\032" - + "&.google.bigtable.v2.MutateRowsResponse\"" - + "\323\001\202\323\344\223\002@\";/v2/{table_name=projects/*/ins" - + "tances/*/tables/*}:mutateRows:\001*\212\323\344\223\002N\022:" - + "\n\ntable_name\022,{table_name=projects/*/ins" - + "tances/*/tables/*}\022\020\n\016app_profile_id\332A\022t" - + "able_name,entries\332A!table_name,entries,a" - + "pp_profile_id0\001\022\255\003\n\021CheckAndMutateRow\022,." - + "google.bigtable.v2.CheckAndMutateRowRequ" - + "est\032-.google.bigtable.v2.CheckAndMutateR" - + "owResponse\"\272\002\202\323\344\223\002G\"B/v2/{table_name=pro" - + "jects/*/instances/*/tables/*}:checkAndMu" - + "tateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_n" - + "ame=projects/*/instances/*/tables/*}\022\020\n\016" - + "app_profile_id\332ABtable_name,row_key,pred" - + "icate_filter,true_mutations,false_mutati" - + "ons\332AQtable_name,row_key,predicate_filte" - + "r,true_mutations,false_mutations,app_pro" - + "file_id\022\356\001\n\013PingAndWarm\022&.google.bigtabl" - + "e.v2.PingAndWarmRequest\032\'.google.bigtabl" - + "e.v2.PingAndWarmResponse\"\215\001\202\323\344\223\002+\"&/v2/{" - + "name=projects/*/instances/*}:ping:\001*\212\323\344\223" - + "\0029\022%\n\004name\022\035{name=projects/*/instances/*" - + "}\022\020\n\016app_profile_id\332A\004name\332A\023name,app_pr" - + "ofile_id\022\335\002\n\022ReadModifyWriteRow\022-.google" - + ".bigtable.v2.ReadModifyWriteRowRequest\032." - + ".google.bigtable.v2.ReadModifyWriteRowRe" - + "sponse\"\347\001\202\323\344\223\002H\"C/v2/{table_name=project" - + "s/*/instances/*/tables/*}:readModifyWrit" - + "eRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name" - + "=projects/*/instances/*/tables/*}\022\020\n\016app" - + "_profile_id\332A\030table_name,row_key,rules\332A" - + "\'table_name,row_key,rules,app_profile_id" - + "\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.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", - }); - 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", - }); - 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_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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", - }); - 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.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 6a3e935338..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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 ba55154653..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,373 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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; - - 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\004ruleB\265\001\n\026com.google.bigtabl" - + "e.v2B\tDataProtoP\001Z:google.golang.org/gen" - + "proto/googleapis/bigtable/v2;bigtable\252\002\030" - + "Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\" - + "Bigtable\\V2\352\002\033Google::Cloud::Bigtable::V" - + "2b\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", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java deleted file mode 100644 index 3bb86b6295..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -package com.google.bigtable.v2; - -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) = { ... } - * - * - * @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) = { ... } - * - * - * @return The bytes for tableName. - */ - 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(); - - /** - * - * - *
-   * 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); -} 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 54dffa3f98..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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/PingAndWarmRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java deleted file mode 100644 index 4f15fb0040..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -package com.google.bigtable.v2; - -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) = { ... } - * - * - * @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) = { ... } - * - * - * @return The bytes for name. - */ - 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(); -} 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 df24aaa044..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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/ReadEfficiencyStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStats.java deleted file mode 100644 index 1c00958102..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStats.java +++ /dev/null @@ -1,1021 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/request_stats.proto - -package com.google.bigtable.v2; - -/** - * - * - *
- * ReadEfficiencyStats captures information about the efficiency of a read.
- * 
- * - * Protobuf type {@code google.bigtable.v2.ReadEfficiencyStats} - */ -public final class ReadEfficiencyStats extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadEfficiencyStats) - ReadEfficiencyStatsOrBuilder { - private static final long serialVersionUID = 0L; - // Use ReadEfficiencyStats.newBuilder() to construct. - private ReadEfficiencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ReadEfficiencyStats() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ReadEfficiencyStats(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadEfficiencyStats.class, - com.google.bigtable.v2.ReadEfficiencyStats.Builder.class); - } - - public static final int READ_ITERATOR_STATS_FIELD_NUMBER = 1; - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; - /** - * - * - *
-   * 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - @java.lang.Override - public boolean hasReadIteratorStats() { - return readIteratorStats_ != 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } - /** - * - * - *
-   * 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - return getReadIteratorStats(); - } - - 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 - 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_; - } - /** - * - * - *
-   * Request latency stats describe the time taken to complete a request, from
-   * the server side.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - @java.lang.Override - public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() { - return getRequestLatencyStats(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (readIteratorStats_ != null) { - output.writeMessage(1, getReadIteratorStats()); - } - if (requestLatencyStats_ != null) { - output.writeMessage(2, getRequestLatencyStats()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (readIteratorStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIteratorStats()); - } - if (requestLatencyStats_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.bigtable.v2.ReadEfficiencyStats)) { - return super.equals(obj); - } - com.google.bigtable.v2.ReadEfficiencyStats other = - (com.google.bigtable.v2.ReadEfficiencyStats) obj; - - if (hasReadIteratorStats() != other.hasReadIteratorStats()) return false; - if (hasReadIteratorStats()) { - if (!getReadIteratorStats().equals(other.getReadIteratorStats())) return false; - } - if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false; - if (hasRequestLatencyStats()) { - if (!getRequestLatencyStats().equals(other.getRequestLatencyStats())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasReadIteratorStats()) { - hash = (37 * hash) + READ_ITERATOR_STATS_FIELD_NUMBER; - hash = (53 * hash) + getReadIteratorStats().hashCode(); - } - if (hasRequestLatencyStats()) { - hash = (37 * hash) + REQUEST_LATENCY_STATS_FIELD_NUMBER; - hash = (53 * hash) + getRequestLatencyStats().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats 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.ReadEfficiencyStats parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( - 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.ReadEfficiencyStats parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats 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.ReadEfficiencyStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats 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.ReadEfficiencyStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.bigtable.v2.ReadEfficiencyStats prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * ReadEfficiencyStats captures information about the efficiency of a read.
-   * 
- * - * Protobuf type {@code google.bigtable.v2.ReadEfficiencyStats} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadEfficiencyStats) - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadEfficiencyStats.class, - com.google.bigtable.v2.ReadEfficiencyStats.Builder.class); - } - - // Construct using com.google.bigtable.v2.ReadEfficiencyStats.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; - } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; - } - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = null; - } else { - requestLatencyStats_ = null; - requestLatencyStatsBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor; - } - - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstanceForType() { - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats build() { - com.google.bigtable.v2.ReadEfficiencyStats result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats buildPartial() { - com.google.bigtable.v2.ReadEfficiencyStats result = - new com.google.bigtable.v2.ReadEfficiencyStats(this); - if (readIteratorStatsBuilder_ == null) { - result.readIteratorStats_ = readIteratorStats_; - } else { - result.readIteratorStats_ = readIteratorStatsBuilder_.build(); - } - if (requestLatencyStatsBuilder_ == null) { - result.requestLatencyStats_ = requestLatencyStats_; - } else { - result.requestLatencyStats_ = requestLatencyStatsBuilder_.build(); - } - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.v2.ReadEfficiencyStats) { - return mergeFrom((com.google.bigtable.v2.ReadEfficiencyStats) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.bigtable.v2.ReadEfficiencyStats other) { - if (other == com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance()) return this; - if (other.hasReadIteratorStats()) { - mergeReadIteratorStats(other.getReadIteratorStats()); - } - if (other.hasRequestLatencyStats()) { - mergeRequestLatencyStats(other.getRequestLatencyStats()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage( - getReadIteratorStatsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private com.google.bigtable.v2.ReadIteratorStats readIteratorStats_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - readIteratorStatsBuilder_; - /** - * - * - *
-     * 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - public boolean hasReadIteratorStats() { - return readIteratorStatsBuilder_ != null || readIteratorStats_ != 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - public com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } else { - return readIteratorStatsBuilder_.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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder setReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - readIteratorStats_ = value; - onChanged(); - } else { - readIteratorStatsBuilder_.setMessage(value); - } - - 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder setReadIteratorStats( - com.google.bigtable.v2.ReadIteratorStats.Builder builderForValue) { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = builderForValue.build(); - onChanged(); - } else { - readIteratorStatsBuilder_.setMessage(builderForValue.build()); - } - - 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder mergeReadIteratorStats(com.google.bigtable.v2.ReadIteratorStats value) { - if (readIteratorStatsBuilder_ == null) { - if (readIteratorStats_ != null) { - readIteratorStats_ = - com.google.bigtable.v2.ReadIteratorStats.newBuilder(readIteratorStats_) - .mergeFrom(value) - .buildPartial(); - } else { - readIteratorStats_ = value; - } - onChanged(); - } else { - readIteratorStatsBuilder_.mergeFrom(value); - } - - 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public Builder clearReadIteratorStats() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStats_ = null; - onChanged(); - } else { - readIteratorStats_ = null; - readIteratorStatsBuilder_ = null; - } - - 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public com.google.bigtable.v2.ReadIteratorStats.Builder getReadIteratorStatsBuilder() { - - onChanged(); - return getReadIteratorStatsFieldBuilder().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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - public com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder() { - if (readIteratorStatsBuilder_ != null) { - return readIteratorStatsBuilder_.getMessageOrBuilder(); - } else { - return readIteratorStats_ == null - ? com.google.bigtable.v2.ReadIteratorStats.getDefaultInstance() - : readIteratorStats_; - } - } - /** - * - * - *
-     * 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
-     * indication of read efficiency (the higher the ratio of seen to retuned the
-     * better).
-     * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder> - getReadIteratorStatsFieldBuilder() { - if (readIteratorStatsBuilder_ == null) { - readIteratorStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIteratorStats, - com.google.bigtable.v2.ReadIteratorStats.Builder, - com.google.bigtable.v2.ReadIteratorStatsOrBuilder>( - getReadIteratorStats(), getParentForChildren(), isClean()); - readIteratorStats_ = null; - } - return readIteratorStatsBuilder_; - } - - 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_; - /** - * - * - *
-     * 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 requestLatencyStatsBuilder_ != null || 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. - */ - public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - if (requestLatencyStatsBuilder_ == null) { - 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.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder setRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) { - if (requestLatencyStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - requestLatencyStats_ = value; - onChanged(); - } else { - requestLatencyStatsBuilder_.setMessage(value); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder setRequestLatencyStats( - com.google.bigtable.v2.RequestLatencyStats.Builder builderForValue) { - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = builderForValue.build(); - onChanged(); - } else { - requestLatencyStatsBuilder_.setMessage(builderForValue.build()); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) { - if (requestLatencyStatsBuilder_ == null) { - if (requestLatencyStats_ != null) { - requestLatencyStats_ = - com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_) - .mergeFrom(value) - .buildPartial(); - } else { - requestLatencyStats_ = value; - } - onChanged(); - } else { - requestLatencyStatsBuilder_.mergeFrom(value); - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public Builder clearRequestLatencyStats() { - if (requestLatencyStatsBuilder_ == null) { - requestLatencyStats_ = null; - onChanged(); - } else { - requestLatencyStats_ = null; - requestLatencyStatsBuilder_ = null; - } - - return this; - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStatsBuilder() { - - onChanged(); - return getRequestLatencyStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Request latency stats describe the time taken to complete a request, from
-     * the server side.
-     * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() { - if (requestLatencyStatsBuilder_ != null) { - return requestLatencyStatsBuilder_.getMessageOrBuilder(); - } else { - 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.
-     * 
- * - * .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> - 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()); - requestLatencyStats_ = null; - } - return requestLatencyStatsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadEfficiencyStats) - } - - // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadEfficiencyStats) - private static final com.google.bigtable.v2.ReadEfficiencyStats DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadEfficiencyStats(); - } - - public static com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadEfficiencyStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java deleted file mode 100644 index 77898c1698..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadEfficiencyStatsOrBuilder.java +++ /dev/null @@ -1,107 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/request_stats.proto - -package com.google.bigtable.v2; - -public interface ReadEfficiencyStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadEfficiencyStats) - 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return Whether the readIteratorStats field is set. - */ - boolean hasReadIteratorStats(); - /** - * - * - *
-   * 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - * - * @return The readIteratorStats. - */ - com.google.bigtable.v2.ReadIteratorStats getReadIteratorStats(); - /** - * - * - *
-   * 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
-   * indication of read efficiency (the higher the ratio of seen to retuned the
-   * better).
-   * 
- * - * .google.bigtable.v2.ReadIteratorStats read_iterator_stats = 1; - */ - com.google.bigtable.v2.ReadIteratorStatsOrBuilder getReadIteratorStatsOrBuilder(); - - /** - * - * - *
-   * 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.
-   * 
- * - * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - */ - com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder(); -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java deleted file mode 100644 index 8ac9d12675..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ /dev/null @@ -1,171 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/bigtable.proto - -package com.google.bigtable.v2; - -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) = { ... } - * - * - * @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) = { ... } - * - * - * @return The bytes for tableName. - */ - 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(); - - /** - * - * - *
-   * 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - 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]; - * - */ - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index); -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java deleted file mode 100644 index 87f38e32be..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java +++ /dev/null @@ -1,1144 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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.
- * Currently, there are the following supported methods:
- *   * google.bigtable.v2.ReadRows
- * 
- * - * Protobuf type {@code google.bigtable.v2.RequestStats} - */ -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; - // Use RequestStats.newBuilder() to construct. - private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private RequestStats() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new RequestStats(); - } - - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - - 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 - .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RequestStats.class, - com.google.bigtable.v2.RequestStats.Builder.class); - } - - private int statsCase_ = 0; - private java.lang.Object stats_; - - public enum StatsCase - implements - com.google.protobuf.Internal.EnumLite, - com.google.protobuf.AbstractMessage.InternalOneOfEnum { - READ_EFFICIENCY_STATS(1), - ALL_READ_STATS(2), - STATS_NOT_SET(0); - private final int value; - - private StatsCase(int value) { - this.value = value; - } - /** - * @param value The number of the enum to look for. - * @return The enum associated with the given number. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static StatsCase valueOf(int value) { - return forNumber(value); - } - - public static StatsCase forNumber(int value) { - switch (value) { - case 1: - return READ_EFFICIENCY_STATS; - case 2: - return ALL_READ_STATS; - case 0: - return STATS_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public StatsCase getStatsCase() { - return StatsCase.forNumber(statsCase_); - } - - public static final int READ_EFFICIENCY_STATS_FIELD_NUMBER = 1; - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - @java.lang.Override - public boolean hasReadEfficiencyStats() { - return statsCase_ == 1; - } - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats() { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder() { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - - public static final int ALL_READ_STATS_FIELD_NUMBER = 2; - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return Whether the allReadStats field is set. - */ - @java.lang.Override - public boolean hasAllReadStats() { - return statsCase_ == 2; - } - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return The allReadStats. - */ - @java.lang.Override - public com.google.bigtable.v2.AllReadStats getAllReadStats() { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; - } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - @java.lang.Override - public com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder() { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; - } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (statsCase_ == 1) { - output.writeMessage(1, (com.google.bigtable.v2.ReadEfficiencyStats) stats_); - } - if (statsCase_ == 2) { - output.writeMessage(2, (com.google.bigtable.v2.AllReadStats) stats_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (statsCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.ReadEfficiencyStats) stats_); - } - if (statsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.AllReadStats) stats_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.bigtable.v2.RequestStats)) { - return super.equals(obj); - } - com.google.bigtable.v2.RequestStats other = (com.google.bigtable.v2.RequestStats) obj; - - if (!getStatsCase().equals(other.getStatsCase())) return false; - switch (statsCase_) { - case 1: - if (!getReadEfficiencyStats().equals(other.getReadEfficiencyStats())) return false; - break; - case 2: - if (!getAllReadStats().equals(other.getAllReadStats())) return false; - break; - case 0: - default: - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - switch (statsCase_) { - case 1: - hash = (37 * hash) + READ_EFFICIENCY_STATS_FIELD_NUMBER; - hash = (53 * hash) + getReadEfficiencyStats().hashCode(); - break; - case 2: - hash = (37 * hash) + ALL_READ_STATS_FIELD_NUMBER; - hash = (53 * hash) + getAllReadStats().hashCode(); - break; - case 0: - default: - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - 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) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - 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) - 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); - } - - public static com.google.bigtable.v2.RequestStats 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.RequestStats parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - 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) - throws java.io.IOException { - 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); - } - - 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); - } - - @java.lang.Override - 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); - } - - @java.lang.Override - 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.
-   * Currently, there are the following supported methods:
-   *   * google.bigtable.v2.ReadRows
-   * 
- * - * Protobuf type {@code google.bigtable.v2.RequestStats} - */ - 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; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - 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); - } - - // Construct using com.google.bigtable.v2.RequestStats.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - if (readEfficiencyStatsBuilder_ != null) { - readEfficiencyStatsBuilder_.clear(); - } - if (allReadStatsBuilder_ != null) { - allReadStatsBuilder_.clear(); - } - statsCase_ = 0; - stats_ = null; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_RequestStats_descriptor; - } - - @java.lang.Override - public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() { - return com.google.bigtable.v2.RequestStats.getDefaultInstance(); - } - - @java.lang.Override - public com.google.bigtable.v2.RequestStats build() { - com.google.bigtable.v2.RequestStats result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.bigtable.v2.RequestStats buildPartial() { - com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this); - if (statsCase_ == 1) { - if (readEfficiencyStatsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = readEfficiencyStatsBuilder_.build(); - } - } - if (statsCase_ == 2) { - if (allReadStatsBuilder_ == null) { - result.stats_ = stats_; - } else { - result.stats_ = allReadStatsBuilder_.build(); - } - } - result.statsCase_ = statsCase_; - onBuilt(); - return result; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.bigtable.v2.RequestStats) { - return mergeFrom((com.google.bigtable.v2.RequestStats) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.bigtable.v2.RequestStats other) { - if (other == com.google.bigtable.v2.RequestStats.getDefaultInstance()) return this; - switch (other.getStatsCase()) { - case READ_EFFICIENCY_STATS: - { - mergeReadEfficiencyStats(other.getReadEfficiencyStats()); - break; - } - case ALL_READ_STATS: - { - mergeAllReadStats(other.getAllReadStats()); - break; - } - case STATS_NOT_SET: - { - break; - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage( - getReadEfficiencyStatsFieldBuilder().getBuilder(), extensionRegistry); - statsCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getAllReadStatsFieldBuilder().getBuilder(), extensionRegistry); - statsCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int statsCase_ = 0; - private java.lang.Object stats_; - - public StatsCase getStatsCase() { - return StatsCase.forNumber(statsCase_); - } - - public Builder clearStats() { - statsCase_ = 0; - stats_ = null; - onChanged(); - return this; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder> - readEfficiencyStatsBuilder_; - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - @java.lang.Override - public boolean hasReadEfficiencyStats() { - return statsCase_ == 1; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats() { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } else { - if (statsCase_ == 1) { - return readEfficiencyStatsBuilder_.getMessage(); - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder setReadEfficiencyStats(com.google.bigtable.v2.ReadEfficiencyStats value) { - if (readEfficiencyStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - readEfficiencyStatsBuilder_.setMessage(value); - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder setReadEfficiencyStats( - com.google.bigtable.v2.ReadEfficiencyStats.Builder builderForValue) { - if (readEfficiencyStatsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - readEfficiencyStatsBuilder_.setMessage(builderForValue.build()); - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder mergeReadEfficiencyStats(com.google.bigtable.v2.ReadEfficiencyStats value) { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1 - && stats_ != com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance()) { - stats_ = - com.google.bigtable.v2.ReadEfficiencyStats.newBuilder( - (com.google.bigtable.v2.ReadEfficiencyStats) stats_) - .mergeFrom(value) - .buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - if (statsCase_ == 1) { - readEfficiencyStatsBuilder_.mergeFrom(value); - } else { - readEfficiencyStatsBuilder_.setMessage(value); - } - } - statsCase_ = 1; - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public Builder clearReadEfficiencyStats() { - if (readEfficiencyStatsBuilder_ == null) { - if (statsCase_ == 1) { - statsCase_ = 0; - stats_ = null; - onChanged(); - } - } else { - if (statsCase_ == 1) { - statsCase_ = 0; - stats_ = null; - } - readEfficiencyStatsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - public com.google.bigtable.v2.ReadEfficiencyStats.Builder getReadEfficiencyStatsBuilder() { - return getReadEfficiencyStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - @java.lang.Override - public com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder() { - if ((statsCase_ == 1) && (readEfficiencyStatsBuilder_ != null)) { - return readEfficiencyStatsBuilder_.getMessageOrBuilder(); - } else { - if (statsCase_ == 1) { - return (com.google.bigtable.v2.ReadEfficiencyStats) stats_; - } - return com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the
-     * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-     * package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder> - getReadEfficiencyStatsFieldBuilder() { - if (readEfficiencyStatsBuilder_ == null) { - if (!(statsCase_ == 1)) { - stats_ = com.google.bigtable.v2.ReadEfficiencyStats.getDefaultInstance(); - } - readEfficiencyStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadEfficiencyStats, - com.google.bigtable.v2.ReadEfficiencyStats.Builder, - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder>( - (com.google.bigtable.v2.ReadEfficiencyStats) stats_, - getParentForChildren(), - isClean()); - stats_ = null; - } - statsCase_ = 1; - onChanged(); - ; - return readEfficiencyStatsBuilder_; - } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder> - allReadStatsBuilder_; - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return Whether the allReadStats field is set. - */ - @java.lang.Override - public boolean hasAllReadStats() { - return statsCase_ == 2; - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return The allReadStats. - */ - @java.lang.Override - public com.google.bigtable.v2.AllReadStats getAllReadStats() { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; - } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } else { - if (statsCase_ == 2) { - return allReadStatsBuilder_.getMessage(); - } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats value) { - if (allReadStatsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stats_ = value; - onChanged(); - } else { - allReadStatsBuilder_.setMessage(value); - } - statsCase_ = 2; - return this; - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - public Builder setAllReadStats(com.google.bigtable.v2.AllReadStats.Builder builderForValue) { - if (allReadStatsBuilder_ == null) { - stats_ = builderForValue.build(); - onChanged(); - } else { - allReadStatsBuilder_.setMessage(builderForValue.build()); - } - statsCase_ = 2; - return this; - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - public Builder mergeAllReadStats(com.google.bigtable.v2.AllReadStats value) { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2 && stats_ != com.google.bigtable.v2.AllReadStats.getDefaultInstance()) { - stats_ = - com.google.bigtable.v2.AllReadStats.newBuilder( - (com.google.bigtable.v2.AllReadStats) stats_) - .mergeFrom(value) - .buildPartial(); - } else { - stats_ = value; - } - onChanged(); - } else { - if (statsCase_ == 2) { - allReadStatsBuilder_.mergeFrom(value); - } else { - allReadStatsBuilder_.setMessage(value); - } - } - statsCase_ = 2; - return this; - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - public Builder clearAllReadStats() { - if (allReadStatsBuilder_ == null) { - if (statsCase_ == 2) { - statsCase_ = 0; - stats_ = null; - onChanged(); - } - } else { - if (statsCase_ == 2) { - statsCase_ = 0; - stats_ = null; - } - allReadStatsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - public com.google.bigtable.v2.AllReadStats.Builder getAllReadStatsBuilder() { - return getAllReadStatsFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - @java.lang.Override - public com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder() { - if ((statsCase_ == 2) && (allReadStatsBuilder_ != null)) { - return allReadStatsBuilder_.getMessageOrBuilder(); - } else { - if (statsCase_ == 2) { - return (com.google.bigtable.v2.AllReadStats) stats_; - } - return com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - } - /** - * - * - *
-     * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-     * view, see package google.bigtable.v2.
-     * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder> - getAllReadStatsFieldBuilder() { - if (allReadStatsBuilder_ == null) { - if (!(statsCase_ == 2)) { - stats_ = com.google.bigtable.v2.AllReadStats.getDefaultInstance(); - } - allReadStatsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.AllReadStats, - com.google.bigtable.v2.AllReadStats.Builder, - com.google.bigtable.v2.AllReadStatsOrBuilder>( - (com.google.bigtable.v2.AllReadStats) stats_, getParentForChildren(), isClean()); - stats_ = null; - } - statsCase_ = 2; - onChanged(); - ; - return allReadStatsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.bigtable.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(); - } - - 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(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java deleted file mode 100644 index 163c6d8123..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java +++ /dev/null @@ -1,106 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/bigtable/v2/request_stats.proto - -package com.google.bigtable.v2; - -public interface RequestStatsOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestStats) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return Whether the readEfficiencyStats field is set. - */ - boolean hasReadEfficiencyStats(); - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - * - * @return The readEfficiencyStats. - */ - com.google.bigtable.v2.ReadEfficiencyStats getReadEfficiencyStats(); - /** - * - * - *
-   * Available with the
-   * ReadRowsRequest.RequestStatsView.REQUEST_STATS_EFFICIENCY view, see
-   * package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.ReadEfficiencyStats read_efficiency_stats = 1; - */ - com.google.bigtable.v2.ReadEfficiencyStatsOrBuilder getReadEfficiencyStatsOrBuilder(); - - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return Whether the allReadStats field is set. - */ - boolean hasAllReadStats(); - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - * - * @return The allReadStats. - */ - com.google.bigtable.v2.AllReadStats getAllReadStats(); - /** - * - * - *
-   * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
-   * view, see package google.bigtable.v2.
-   * 
- * - * .google.bigtable.v2.AllReadStats all_read_stats = 2; - */ - com.google.bigtable.v2.AllReadStatsOrBuilder getAllReadStatsOrBuilder(); - - public com.google.bigtable.v2.RequestStats.StatsCase getStatsCase(); -} 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 6e1cf9c583..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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_ReadIteratorStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadIteratorStats_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_ReadEfficiencyStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_AllReadStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_AllReadStats_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\"\235\001\n\021ReadIteratorStats\022\027\n\017ro" - + "ws_seen_count\030\001 \001(\003\022\033\n\023rows_returned_cou" - + "nt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024ce" - + "lls_returned_count\030\004 \001(\003\022\032\n\022deletes_seen" - + "_count\030\005 \001(\003\"Q\n\023RequestLatencyStats\022:\n\027f" - + "rontend_server_latency\030\001 \001(\0132\031.google.pr" - + "otobuf.Duration\"\241\001\n\023ReadEfficiencyStats\022" - + "B\n\023read_iterator_stats\030\001 \001(\0132%.google.bi" - + "gtable.v2.ReadIteratorStats\022F\n\025request_l" - + "atency_stats\030\002 \001(\0132\'.google.bigtable.v2." - + "RequestLatencyStats\"\232\001\n\014AllReadStats\022B\n\023" - + "read_iterator_stats\030\001 \001(\0132%.google.bigta" - + "ble.v2.ReadIteratorStats\022F\n\025request_late" - + "ncy_stats\030\002 \001(\0132\'.google.bigtable.v2.Req" - + "uestLatencyStats\"\235\001\n\014RequestStats\022H\n\025rea" - + "d_efficiency_stats\030\001 \001(\0132\'.google.bigtab" - + "le.v2.ReadEfficiencyStatsH\000\022:\n\016all_read_" - + "stats\030\002 \001(\0132 .google.bigtable.v2.AllRead" - + "StatsH\000B\007\n\005statsB\275\001\n\026com.google.bigtable" - + ".v2B\021RequestStatsProtoP\001Z:google.golang." - + "org/genproto/googleapis/bigtable/v2;bigt" - + "able\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google" - + "\\Cloud\\Bigtable\\V2\352\002\033Google::Cloud::Bigt" - + "able::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_ReadIteratorStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadIteratorStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadIteratorStats_descriptor, - new java.lang.String[] { - "RowsSeenCount", - "RowsReturnedCount", - "CellsSeenCount", - "CellsReturnedCount", - "DeletesSeenCount", - }); - 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_ReadEfficiencyStats_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_ReadEfficiencyStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadEfficiencyStats_descriptor, - new java.lang.String[] { - "ReadIteratorStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_AllReadStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_AllReadStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_AllReadStats_descriptor, - new java.lang.String[] { - "ReadIteratorStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_RequestStats_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestStats_descriptor, - new java.lang.String[] { - "ReadEfficiencyStats", "AllReadStats", "Stats", - }); - 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 9bfba64405..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/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) -} From 1a1e823462a16db67d23433302ccef9ef76f0795 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 6 Oct 2022 21:52:56 +0000 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../admin/v2/BigtableInstanceAdminGrpc.java | 2774 +++++++++++ .../admin/v2/BigtableTableAdminGrpc.java | 3214 +++++++++++++ .../com/google/bigtable/v2/BigtableGrpc.java | 1041 +++++ .../v2/BaseBigtableInstanceAdminClient.java | 3284 ------------- .../v2/BaseBigtableInstanceAdminSettings.java | 527 --- .../v2/BaseBigtableTableAdminClient.java | 4128 ----------------- .../v2/BaseBigtableTableAdminSettings.java | 560 --- .../bigtable/admin/v2/gapic_metadata.json | 162 - .../cloud/bigtable/admin/v2/package-info.java | 67 - .../v2/stub/BigtableInstanceAdminStub.java | 206 - .../BigtableInstanceAdminStubSettings.java | 1237 ----- .../admin/v2/stub/BigtableTableAdminStub.java | 230 - .../stub/BigtableTableAdminStubSettings.java | 1375 ------ ...cBigtableInstanceAdminCallableFactory.java | 113 - .../stub/GrpcBigtableInstanceAdminStub.java | 895 ---- ...GrpcBigtableTableAdminCallableFactory.java | 113 - .../v2/stub/GrpcBigtableTableAdminStub.java | 994 ---- .../data/v2/BaseBigtableDataClient.java | 1300 ------ .../data/v2/BaseBigtableDataSettings.java | 268 -- .../bigtable/data/v2/gapic_metadata.json | 39 - .../cloud/bigtable/data/v2/package-info.java | 43 - .../bigtable/data/v2/stub/BigtableStub.java | 80 - .../data/v2/stub/BigtableStubSettings.java | 486 -- .../v2/stub/GrpcBigtableCallableFactory.java | 113 - .../data/v2/stub/GrpcBigtableStub.java | 412 -- .../BaseBigtableInstanceAdminClientTest.java | 1782 ------- .../v2/BaseBigtableTableAdminClientTest.java | 2360 ---------- .../admin/v2/MockBigtableInstanceAdmin.java | 59 - .../v2/MockBigtableInstanceAdminImpl.java | 525 --- .../admin/v2/MockBigtableTableAdmin.java | 59 - .../admin/v2/MockBigtableTableAdminImpl.java | 591 --- .../data/v2/BaseBigtableDataClientTest.java | 962 ---- .../cloud/bigtable/data/v2/MockBigtable.java | 59 - .../bigtable/data/v2/MockBigtableImpl.java | 222 - .../admin/v2/BigtableInstanceAdminGrpc.java | 2145 --------- .../admin/v2/BigtableTableAdminGrpc.java | 2519 ---------- .../com/google/bigtable/v2/BigtableGrpc.java | 840 ---- .../admin/v2/BigtableInstanceAdminProto.java | 618 --- .../admin/v2/BigtableTableAdminProto.java | 722 --- .../v2/CheckConsistencyResponseOrBuilder.java | 20 - .../google/bigtable/admin/v2/CommonProto.java | 61 - .../v2/DeleteBackupRequestOrBuilder.java | 33 - .../v2/DeleteClusterRequestOrBuilder.java | 31 - .../v2/DeleteInstanceRequestOrBuilder.java | 31 - .../v2/DeleteSnapshotRequestOrBuilder.java | 33 - .../admin/v2/DeleteTableRequestOrBuilder.java | 33 - ...erateConsistencyTokenRequestOrBuilder.java | 33 - ...rateConsistencyTokenResponseOrBuilder.java | 29 - .../v2/GetAppProfileRequestOrBuilder.java | 31 - .../admin/v2/GetBackupRequestOrBuilder.java | 33 - .../admin/v2/GetClusterRequestOrBuilder.java | 31 - .../admin/v2/GetInstanceRequestOrBuilder.java | 31 - .../admin/v2/GetSnapshotRequestOrBuilder.java | 33 - .../bigtable/admin/v2/InstanceProto.java | 263 -- .../google/bigtable/admin/v2/TableProto.java | 294 -- .../v2/UndeleteTableRequestOrBuilder.java | 33 - .../v2/UpdateAppProfileMetadataOrBuilder.java | 9 - .../com/google/bigtable/v2/BigtableProto.java | 394 -- .../CheckAndMutateRowResponseOrBuilder.java | 20 - .../com/google/bigtable/v2/DataProto.java | 319 -- .../v2/MutateRowResponseOrBuilder.java | 9 - .../v2/PingAndWarmResponseOrBuilder.java | 9 - .../google/bigtable/v2/RequestStatsProto.java | 100 - .../bigtable/v2/ResponseParamsProto.java | 54 - .../google/bigtable/admin/v2/AppProfile.java | 1615 ++++--- .../bigtable/admin/v2/AppProfileName.java | 0 .../admin/v2/AppProfileOrBuilder.java | 88 +- .../bigtable/admin/v2/AutoscalingLimits.java | 314 +- .../admin/v2/AutoscalingLimitsOrBuilder.java | 24 +- .../bigtable/admin/v2/AutoscalingTargets.java | 318 +- .../admin/v2/AutoscalingTargetsOrBuilder.java | 24 +- .../com/google/bigtable/admin/v2/Backup.java | 1085 +++-- .../google/bigtable/admin/v2/BackupInfo.java | 614 ++- .../admin/v2/BackupInfoOrBuilder.java | 70 +- .../google/bigtable/admin/v2/BackupName.java | 0 .../bigtable/admin/v2/BackupOrBuilder.java | 132 +- .../admin/v2/BigtableInstanceAdminProto.java | 665 +++ .../admin/v2/BigtableTableAdminProto.java | 780 ++++ .../admin/v2/CheckConsistencyRequest.java | 434 +- .../v2/CheckConsistencyRequestOrBuilder.java | 44 +- .../admin/v2/CheckConsistencyResponse.java | 292 +- .../v2/CheckConsistencyResponseOrBuilder.java | 39 + .../com/google/bigtable/admin/v2/Cluster.java | 2305 +++++---- .../google/bigtable/admin/v2/ClusterName.java | 0 .../bigtable/admin/v2/ClusterOrBuilder.java | 103 +- .../bigtable/admin/v2/ColumnFamily.java | 323 +- .../admin/v2/ColumnFamilyOrBuilder.java | 26 +- .../google/bigtable/admin/v2/CommonProto.java | 76 + .../admin/v2/CreateAppProfileRequest.java | 601 ++- .../v2/CreateAppProfileRequestOrBuilder.java | 67 +- .../admin/v2/CreateBackupMetadata.java | 552 ++- .../v2/CreateBackupMetadataOrBuilder.java | 52 +- .../admin/v2/CreateBackupRequest.java | 543 ++- .../v2/CreateBackupRequestOrBuilder.java | 61 +- .../admin/v2/CreateClusterMetadata.java | 1331 +++--- .../v2/CreateClusterMetadataOrBuilder.java | 88 +- .../admin/v2/CreateClusterRequest.java | 558 ++- .../v2/CreateClusterRequestOrBuilder.java | 61 +- .../admin/v2/CreateInstanceMetadata.java | 502 +- .../v2/CreateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/CreateInstanceRequest.java | 855 ++-- .../v2/CreateInstanceRequestOrBuilder.java | 115 +- .../v2/CreateTableFromSnapshotMetadata.java | 528 ++- ...ateTableFromSnapshotMetadataOrBuilder.java | 45 +- .../v2/CreateTableFromSnapshotRequest.java | 541 ++- ...eateTableFromSnapshotRequestOrBuilder.java | 61 +- .../bigtable/admin/v2/CreateTableRequest.java | 958 ++-- .../admin/v2/CreateTableRequestOrBuilder.java | 76 +- .../admin/v2/DeleteAppProfileRequest.java | 393 +- .../v2/DeleteAppProfileRequestOrBuilder.java | 38 +- .../admin/v2/DeleteBackupRequest.java | 355 +- .../v2/DeleteBackupRequestOrBuilder.java | 58 + .../admin/v2/DeleteClusterRequest.java | 355 +- .../v2/DeleteClusterRequestOrBuilder.java | 56 + .../admin/v2/DeleteInstanceRequest.java | 355 +- .../v2/DeleteInstanceRequestOrBuilder.java | 56 + .../admin/v2/DeleteSnapshotRequest.java | 355 +- .../v2/DeleteSnapshotRequestOrBuilder.java | 58 + .../bigtable/admin/v2/DeleteTableRequest.java | 351 +- .../admin/v2/DeleteTableRequestOrBuilder.java | 58 + .../admin/v2/DropRowRangeRequest.java | 504 +- .../v2/DropRowRangeRequestOrBuilder.java | 47 +- .../bigtable/admin/v2/EncryptionInfo.java | 637 ++- .../admin/v2/EncryptionInfoOrBuilder.java | 66 +- .../com/google/bigtable/admin/v2/GcRule.java | 1424 +++--- .../bigtable/admin/v2/GcRuleOrBuilder.java | 48 +- .../v2/GenerateConsistencyTokenRequest.java | 368 +- ...erateConsistencyTokenRequestOrBuilder.java | 58 + .../v2/GenerateConsistencyTokenResponse.java | 340 +- ...rateConsistencyTokenResponseOrBuilder.java | 50 + .../admin/v2/GetAppProfileRequest.java | 355 +- .../v2/GetAppProfileRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetBackupRequest.java | 348 +- .../admin/v2/GetBackupRequestOrBuilder.java | 58 + .../bigtable/admin/v2/GetClusterRequest.java | 348 +- .../admin/v2/GetClusterRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetInstanceRequest.java | 351 +- .../admin/v2/GetInstanceRequestOrBuilder.java | 56 + .../bigtable/admin/v2/GetSnapshotRequest.java | 351 +- .../admin/v2/GetSnapshotRequestOrBuilder.java | 58 + .../bigtable/admin/v2/GetTableRequest.java | 404 +- .../admin/v2/GetTableRequestOrBuilder.java | 41 +- .../google/bigtable/admin/v2/HotTablet.java | 814 ++-- .../bigtable/admin/v2/HotTabletOrBuilder.java | 91 +- .../google/bigtable/admin/v2/Instance.java | 1062 +++-- .../bigtable/admin/v2/InstanceName.java | 0 .../bigtable/admin/v2/InstanceOrBuilder.java | 102 +- .../bigtable/admin/v2/InstanceProto.java | 314 ++ .../admin/v2/ListAppProfilesRequest.java | 469 +- .../v2/ListAppProfilesRequestOrBuilder.java | 47 +- .../admin/v2/ListAppProfilesResponse.java | 592 ++- .../v2/ListAppProfilesResponseOrBuilder.java | 63 +- .../bigtable/admin/v2/ListBackupsRequest.java | 615 ++- .../admin/v2/ListBackupsRequestOrBuilder.java | 65 +- .../admin/v2/ListBackupsResponse.java | 482 +- .../v2/ListBackupsResponseOrBuilder.java | 46 +- .../admin/v2/ListClustersRequest.java | 434 +- .../v2/ListClustersRequestOrBuilder.java | 44 +- .../admin/v2/ListClustersResponse.java | 588 ++- .../v2/ListClustersResponseOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsRequest.java | 623 ++- .../v2/ListHotTabletsRequestOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsResponse.java | 483 +- .../v2/ListHotTabletsResponseOrBuilder.java | 45 +- .../admin/v2/ListInstancesRequest.java | 434 +- .../v2/ListInstancesRequestOrBuilder.java | 44 +- .../admin/v2/ListInstancesResponse.java | 588 ++- .../v2/ListInstancesResponseOrBuilder.java | 63 +- .../admin/v2/ListSnapshotsRequest.java | 469 +- .../v2/ListSnapshotsRequestOrBuilder.java | 47 +- .../admin/v2/ListSnapshotsResponse.java | 482 +- .../v2/ListSnapshotsResponseOrBuilder.java | 45 +- .../bigtable/admin/v2/ListTablesRequest.java | 510 +- .../admin/v2/ListTablesRequestOrBuilder.java | 53 +- .../bigtable/admin/v2/ListTablesResponse.java | 478 +- .../admin/v2/ListTablesResponseOrBuilder.java | 46 +- .../bigtable/admin/v2/LocationName.java | 0 .../admin/v2/ModifyColumnFamiliesRequest.java | 1325 ++++-- .../ModifyColumnFamiliesRequestOrBuilder.java | 74 +- .../bigtable/admin/v2/OperationProgress.java | 427 +- .../admin/v2/OperationProgressOrBuilder.java | 37 +- .../v2/OptimizeRestoredTableMetadata.java | 416 +- ...ptimizeRestoredTableMetadataOrBuilder.java | 35 +- .../v2/PartialUpdateClusterMetadata.java | 517 ++- ...PartialUpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/PartialUpdateClusterRequest.java | 503 +- .../PartialUpdateClusterRequestOrBuilder.java | 52 +- .../v2/PartialUpdateInstanceRequest.java | 510 +- ...PartialUpdateInstanceRequestOrBuilder.java | 55 +- .../google/bigtable/admin/v2/ProjectName.java | 0 .../google/bigtable/admin/v2/RestoreInfo.java | 434 +- .../admin/v2/RestoreInfoOrBuilder.java | 32 +- .../bigtable/admin/v2/RestoreSourceType.java | 73 +- .../admin/v2/RestoreTableMetadata.java | 700 +-- .../v2/RestoreTableMetadataOrBuilder.java | 56 +- .../admin/v2/RestoreTableRequest.java | 563 ++- .../v2/RestoreTableRequestOrBuilder.java | 56 +- .../google/bigtable/admin/v2/Snapshot.java | 808 ++-- .../bigtable/admin/v2/SnapshotName.java | 0 .../bigtable/admin/v2/SnapshotOrBuilder.java | 69 +- .../admin/v2/SnapshotTableMetadata.java | 502 +- .../v2/SnapshotTableMetadataOrBuilder.java | 42 +- .../admin/v2/SnapshotTableRequest.java | 687 +-- .../v2/SnapshotTableRequestOrBuilder.java | 78 +- .../google/bigtable/admin/v2/StorageType.java | 82 +- .../com/google/bigtable/admin/v2/Table.java | 1941 +++++--- .../google/bigtable/admin/v2/TableName.java | 0 .../bigtable/admin/v2/TableOrBuilder.java | 144 +- .../google/bigtable/admin/v2/TableProto.java | 339 ++ .../admin/v2/UndeleteTableMetadata.java | 475 +- .../v2/UndeleteTableMetadataOrBuilder.java | 43 +- .../admin/v2/UndeleteTableRequest.java | 355 +- .../v2/UndeleteTableRequestOrBuilder.java | 58 + .../admin/v2/UpdateAppProfileMetadata.java | 254 +- .../v2/UpdateAppProfileMetadataOrBuilder.java | 24 + .../admin/v2/UpdateAppProfileRequest.java | 539 ++- .../v2/UpdateAppProfileRequestOrBuilder.java | 58 +- .../admin/v2/UpdateBackupRequest.java | 481 +- .../v2/UpdateBackupRequestOrBuilder.java | 52 +- .../admin/v2/UpdateClusterMetadata.java | 499 +- .../v2/UpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateInstanceMetadata.java | 514 +- .../v2/UpdateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateTableMetadata.java | 475 +- .../v2/UpdateTableMetadataOrBuilder.java | 43 +- .../bigtable/admin/v2/UpdateTableRequest.java | 475 +- .../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 | 435 ++ .../java/com/google/bigtable/v2/Cell.java | 401 +- .../com/google/bigtable/v2/CellOrBuilder.java | 42 +- .../bigtable/v2/CheckAndMutateRowRequest.java | 857 ++-- .../v2/CheckAndMutateRowRequestOrBuilder.java | 91 +- .../v2/CheckAndMutateRowResponse.java | 289 +- .../CheckAndMutateRowResponseOrBuilder.java | 39 + .../java/com/google/bigtable/v2/Column.java | 421 +- .../google/bigtable/v2/ColumnOrBuilder.java | 40 +- .../com/google/bigtable/v2/ColumnRange.java | 613 ++- .../bigtable/v2/ColumnRangeOrBuilder.java | 51 +- .../com/google/bigtable/v2/DataProto.java | 373 ++ .../java/com/google/bigtable/v2/Family.java | 458 +- .../google/bigtable/v2/FamilyOrBuilder.java | 46 +- .../google/bigtable/v2/FullReadStatsView.java | 415 +- .../v2/FullReadStatsViewOrBuilder.java | 34 +- .../com/google/bigtable/v2/InstanceName.java | 0 .../google/bigtable/v2/MutateRowRequest.java | 703 +-- .../v2/MutateRowRequestOrBuilder.java | 86 +- .../google/bigtable/v2/MutateRowResponse.java | 241 +- .../v2/MutateRowResponseOrBuilder.java | 24 + .../google/bigtable/v2/MutateRowsRequest.java | 1229 +++-- .../v2/MutateRowsRequestOrBuilder.java | 82 +- .../bigtable/v2/MutateRowsResponse.java | 756 +-- .../v2/MutateRowsResponseOrBuilder.java | 36 +- .../java/com/google/bigtable/v2/Mutation.java | 2097 +++++---- .../google/bigtable/v2/MutationOrBuilder.java | 50 +- .../bigtable/v2/PingAndWarmRequest.java | 427 +- .../v2/PingAndWarmRequestOrBuilder.java | 44 +- .../bigtable/v2/PingAndWarmResponse.java | 244 +- .../v2/PingAndWarmResponseOrBuilder.java | 24 + .../bigtable/v2/ReadIterationStats.java | 396 +- .../v2/ReadIterationStatsOrBuilder.java | 30 +- .../v2/ReadModifyWriteRowRequest.java | 715 +-- .../ReadModifyWriteRowRequestOrBuilder.java | 85 +- .../v2/ReadModifyWriteRowResponse.java | 328 +- .../ReadModifyWriteRowResponseOrBuilder.java | 26 +- .../bigtable/v2/ReadModifyWriteRule.java | 502 +- .../v2/ReadModifyWriteRuleOrBuilder.java | 42 +- .../google/bigtable/v2/ReadRowsRequest.java | 750 +-- .../bigtable/v2/ReadRowsRequestOrBuilder.java | 69 +- .../google/bigtable/v2/ReadRowsResponse.java | 1383 ++++-- .../v2/ReadRowsResponseOrBuilder.java | 47 +- .../bigtable/v2/RequestLatencyStats.java | 335 +- .../v2/RequestLatencyStatsOrBuilder.java | 26 +- .../com/google/bigtable/v2/RequestStats.java | 367 +- .../bigtable/v2/RequestStatsOrBuilder.java | 26 +- .../google/bigtable/v2/RequestStatsProto.java | 118 + .../google/bigtable/v2/ResponseParams.java | 400 +- .../bigtable/v2/ResponseParamsOrBuilder.java | 42 +- .../bigtable/v2/ResponseParamsProto.java | 67 + .../main/java/com/google/bigtable/v2/Row.java | 416 +- .../com/google/bigtable/v2/RowFilter.java | 2990 +++++++----- .../bigtable/v2/RowFilterOrBuilder.java | 156 +- .../com/google/bigtable/v2/RowOrBuilder.java | 40 +- .../java/com/google/bigtable/v2/RowRange.java | 530 ++- .../google/bigtable/v2/RowRangeOrBuilder.java | 42 +- .../java/com/google/bigtable/v2/RowSet.java | 459 +- .../google/bigtable/v2/RowSetOrBuilder.java | 46 +- .../bigtable/v2/SampleRowKeysRequest.java | 427 +- .../v2/SampleRowKeysRequestOrBuilder.java | 44 +- .../bigtable/v2/SampleRowKeysResponse.java | 316 +- .../v2/SampleRowKeysResponseOrBuilder.java | 24 +- .../com/google/bigtable/v2/TableName.java | 0 .../google/bigtable/v2/TimestampRange.java | 316 +- .../bigtable/v2/TimestampRangeOrBuilder.java | 24 +- .../com/google/bigtable/v2/ValueRange.java | 539 ++- .../bigtable/v2/ValueRangeOrBuilder.java | 42 +- .../proto/google/bigtable/v2/bigtable.proto | 0 .../main/proto/google/bigtable/v2/data.proto | 0 .../google/bigtable/v2/request_stats.proto | 0 .../google/bigtable/v2/response_params.proto | 0 304 files changed, 54624 insertions(+), 58244 deletions(-) create mode 100644 grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java create mode 100644 grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java create mode 100644 grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java delete mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java delete mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java delete mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java delete mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java delete mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfile.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java (53%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Backup.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java (74%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java (55%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java (65%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Cluster.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ClusterName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java (70%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java (59%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java (51%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java (65%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java (59%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GcRule.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java (62%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java (64%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java (64%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java (64%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java (65%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/HotTablet.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Instance.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/InstanceName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java (84%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java (86%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java (50%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java (76%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/LocationName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java (56%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java (64%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java (58%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ProjectName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Snapshot.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/StorageType.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Table.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/TableName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java (69%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java (63%) create mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java (61%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/common.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/instance.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2 => proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/table.proto (100%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Cell.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CellOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java (79%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java (84%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java (64%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Column.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnRange.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java (76%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Family.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java (71%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FullReadStatsView.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/InstanceName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java (62%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowResponse.java (62%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Mutation.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java (54%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java (61%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadIterationStats.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java (63%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java (62%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java (67%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java (58%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java (77%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java (72%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java (80%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java (87%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java (78%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java (85%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestStats.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java (66%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ResponseParams.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java (64%) create mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Row.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowFilter.java (82%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java (94%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowOrBuilder.java (68%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowRange.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java (74%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowSet.java (73%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java (55%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java (70%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java (65%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TableName.java (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TimestampRange.java (66%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java (51%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ValueRange.java (69%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java (75%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/bigtable.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/data.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/request_stats.proto (100%) rename {owl-bot-staging/v2/proto-google-cloud-bigtable-v2 => proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/response_params.proto (100%) 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 new file mode 100644 index 0000000000..8bc483256f --- /dev/null +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -0,0 +1,2774 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +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 abstract static class BigtableInstanceAdminImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateInstanceMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets information about an instance.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getListHotTabletsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>(this, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>(this, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + this, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance>( + this, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>(this, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>(this, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + this, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation>( + this, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>(this, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>(this, 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>(this, 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>( + this, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, 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>( + this, METHODID_LIST_HOT_TABLETS))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 BigtableInstanceAdminImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableInstanceAdminImplBase 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(); + } + } + } + + 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 new file mode 100644 index 0000000000..b4d101214c --- /dev/null +++ b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -0,0 +1,3214 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +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.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 abstract static class BigtableTableAdminImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Creates a new table in the specified instance.
+     * The table can be created with a full set of initial column families,
+     * specified in the request.
+     * 
+ */ + public void createTable( + com.google.bigtable.admin.v2.CreateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTableMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateTableFromSnapshotMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all tables served from a specified instance.
+     * 
+ */ + public void listTables( + com.google.bigtable.admin.v2.ListTablesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets metadata information about the specified table.
+     * 
+ */ + public void getTable( + com.google.bigtable.admin.v2.GetTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a specified table.
+     * 
+ */ + public void updateTable( + com.google.bigtable.admin.v2.UpdateTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateTableMethod(), responseObserver); + } + + /** + * + * + *
+     * Permanently deletes a specified table and all of its data.
+     * 
+ */ + public void deleteTable( + com.google.bigtable.admin.v2.DeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteTableMethod(), responseObserver); + } + + /** + * + * + *
+     * Restores a specified table which was accidentally deleted.
+     * 
+ */ + public void undeleteTable( + com.google.bigtable.admin.v2.UndeleteTableRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUndeleteTableMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getModifyColumnFamiliesMethod(), responseObserver); + } + + /** + * + * + *
+     * Permanently drop/delete a row range from a specified table. The request can
+     * specify whether to delete all rows in a table, or only those that match a
+     * particular prefix.
+     * 
+ */ + public void dropRowRange( + com.google.bigtable.admin.v2.DropRowRangeRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDropRowRangeMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getGenerateConsistencyTokenMethod(), responseObserver); + } + + /** + * + * + *
+     * Checks replication consistency based on a consistency token, that is, if
+     * replication has caught up based on the conditions specified in the token
+     * and the check request.
+     * 
+ */ + public void checkConsistency( + com.google.bigtable.admin.v2.CheckConsistencyRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCheckConsistencyMethod(), responseObserver); + } + + /** + * + * + *
+     * 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.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.
+     * 
+ */ + public void getSnapshot( + com.google.bigtable.admin.v2.GetSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetSnapshotMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists all snapshots associated with the specified cluster.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * 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.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.
+     * 
+ */ + public void deleteSnapshot( + com.google.bigtable.admin.v2.DeleteSnapshotRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteSnapshotMethod(), responseObserver); + } + + /** + * + * + *
+     * Starts creating a new Cloud Bigtable Backup.  The returned backup
+     * [long-running operation][google.longrunning.Operation] can be used to
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets metadata on a pending or completed Cloud Bigtable Backup.
+     * 
+ */ + public void getBackup( + com.google.bigtable.admin.v2.GetBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a pending or completed Cloud Bigtable Backup.
+     * 
+ */ + public void updateBackup( + com.google.bigtable.admin.v2.UpdateBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a pending or completed Cloud Bigtable backup.
+     * 
+ */ + public void deleteBackup( + com.google.bigtable.admin.v2.DeleteBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteBackupMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists Cloud Bigtable backups. Returns both completed and pending
+     * backups.
+     * 
+ */ + public void listBackups( + com.google.bigtable.admin.v2.ListBackupsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListBackupsMethod(), responseObserver); + } + + /** + * + * + *
+     * Create a new table by restoring from a completed backup. The new table
+     * must be in the same project as the instance containing the backup.  The
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getRestoreTableMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>(this, METHODID_CREATE_TABLE))) + .addMethod( + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) + .addMethod( + getListTablesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListTablesRequest, + com.google.bigtable.admin.v2.ListTablesResponse>(this, METHODID_LIST_TABLES))) + .addMethod( + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>(this, METHODID_GET_TABLE))) + .addMethod( + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_TABLE))) + .addMethod( + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_TABLE))) + .addMethod( + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>(this, METHODID_UNDELETE_TABLE))) + .addMethod( + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>(this, METHODID_MODIFY_COLUMN_FAMILIES))) + .addMethod( + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( + this, 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>( + this, 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>( + this, METHODID_CHECK_CONSISTENCY))) + .addMethod( + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>(this, METHODID_SNAPSHOT_TABLE))) + .addMethod( + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>(this, METHODID_GET_SNAPSHOT))) + .addMethod( + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + this, METHODID_LIST_SNAPSHOTS))) + .addMethod( + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_SNAPSHOT))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_BACKUP))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>(this, METHODID_GET_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>(this, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( + this, METHODID_DELETE_BACKUP))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + this, METHODID_LIST_BACKUPS))) + .addMethod( + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>(this, METHODID_RESTORE_TABLE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + } + + /** + * + * + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + * + * + *
+     * 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); + } + } + + /** + * + * + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + * + * + *
+     * 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); + } + } + + /** + * + * + *
+   * 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 new table
+     * must be in the same project as the instance containing the 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); + } + + /** + * + * + *
+     * 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_GET_IAM_POLICY = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_TEST_IAM_PERMISSIONS = 23; + + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final BigtableTableAdminImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableTableAdminImplBase 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_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(); + } + } + } + + 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(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 new file mode 100644 index 0000000000..e6eaad7197 --- /dev/null +++ b/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,1041 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +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; + } + + /** 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 abstract static class BigtableImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.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.
+     * 
+ */ + public 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`.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public 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.
+     * 
+ */ + public void readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getReadModifyWriteRowMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>(this, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + this, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>(this, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>(this, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + this, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>(this, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + this, METHODID_READ_MODIFY_WRITE_ROW))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 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 BigtableImplBase serviceImpl; + private final int methodId; + + MethodHandlers(BigtableImplBase 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; + 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(); + } + } + } + + 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()) + .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 deleted file mode 100644 index bffc042732..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java +++ /dev/null @@ -1,3284 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index aa8145f496..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java +++ /dev/null @@ -1,527 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 46f1affbc9..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java +++ /dev/null @@ -1,4128 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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 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. - * `deletion_protection`) 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 field: * - * `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 new table must be in the same - * project as the instance containing the 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 new table must be in the same - * project as the instance containing the 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 new table must be in the same - * project as the instance containing the 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. - /** - * 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 deleted file mode 100644 index 75bb04cf42..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java +++ /dev/null @@ -1,560 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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 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 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 deleted file mode 100644 index bda1f8b016..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json +++ /dev/null @@ -1,162 +0,0 @@ -{ - "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"] - }, - "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 deleted file mode 100644 index a7c86839c6..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * 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 deleted file mode 100644 index ed4878f17e..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java +++ /dev/null @@ -1,206 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 028d244292..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java +++ /dev/null @@ -1,1237 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index ac888ba054..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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 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 deleted file mode 100644 index ede9ad10c9..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java +++ /dev/null @@ -1,1375 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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 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 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(); - 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 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(); - 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, - 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(); - 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, - 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 - .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())); - - 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 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 deleted file mode 100644 index 03a4d38a60..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 5a143de48d..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java +++ /dev/null @@ -1,895 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.common.collect.ImmutableMap; -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 -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getInstanceTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getInstanceMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings listInstancesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listInstancesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings updateInstanceTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateInstanceMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - partialUpdateInstanceTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(partialUpdateInstanceMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("instance.name", String.valueOf(request.getInstance().getName())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteInstanceTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteInstanceMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings createClusterTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createClusterMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getClusterTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getClusterMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings listClustersTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listClustersMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings updateClusterTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateClusterMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings partialUpdateClusterTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(partialUpdateClusterMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("cluster.name", String.valueOf(request.getCluster().getName())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteClusterTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteClusterMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings createAppProfileTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createAppProfileMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getAppProfileTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getAppProfileMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - listAppProfilesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listAppProfilesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings updateAppProfileTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateAppProfileMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("app_profile.name", String.valueOf(request.getAppProfile().getName())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteAppProfileTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteAppProfileMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings getIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - }) - .build(); - GrpcCallSettings setIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(setIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - }) - .build(); - GrpcCallSettings - testIamPermissionsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(testIamPermissionsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - }) - .build(); - GrpcCallSettings - listHotTabletsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listHotTabletsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.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 deleted file mode 100644 index dfcf03be06..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index a0bdf3b636..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java +++ /dev/null @@ -1,994 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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.ImmutableMap; -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 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 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 -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings - createTableFromSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings listTablesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listTablesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings updateTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("table.name", String.valueOf(request.getTable().getName())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings undeleteTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(undeleteTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings modifyColumnFamiliesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings dropRowRangeTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(dropRowRangeMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - generateConsistencyTokenTransportSettings = - GrpcCallSettings - .newBuilder() - .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings - checkConsistencyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(checkConsistencyMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings snapshotTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(snapshotTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings getSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings listSnapshotsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listSnapshotsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteSnapshotTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteSnapshotMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings createBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createBackupMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getBackupMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings updateBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(updateBackupMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("backup.name", String.valueOf(request.getBackup().getName())); - return params.build(); - }) - .build(); - GrpcCallSettings deleteBackupTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteBackupMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - }) - .build(); - GrpcCallSettings listBackupsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listBackupsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings restoreTableTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(restoreTableMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - }) - .build(); - GrpcCallSettings getIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - }) - .build(); - GrpcCallSettings setIamPolicyTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(setIamPolicyMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.build(); - }) - .build(); - GrpcCallSettings - testIamPermissionsTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(testIamPermissionsMethodDescriptor) - .setParamsExtractor( - request -> { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("resource", String.valueOf(request.getResource())); - return params.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.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 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 deleted file mode 100644 index 73846da576..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java +++ /dev/null @@ -1,1300 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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)
-   *           .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(); - } - - @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 deleted file mode 100644 index 90c94b2692..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java +++ /dev/null @@ -1,268 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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(); - } - - 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(); - } - - @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 deleted file mode 100644 index 77b50a1f50..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "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"] - }, - "MutateRow": { - "methods": ["mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRowCallable"] - }, - "MutateRows": { - "methods": ["mutateRowsCallable"] - }, - "PingAndWarm": { - "methods": ["pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarmCallable"] - }, - "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 deleted file mode 100644 index 39cea2b479..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * 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 deleted file mode 100644 index d8e6e2707e..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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()"); - } - - @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 deleted file mode 100644 index 380f6063b6..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java +++ /dev/null @@ -1,486 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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; - - /** 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; - } - - 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(); - } - - /** 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 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())); - 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); - 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(); - - 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(); - - 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")); - - 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; - } - - @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 deleted file mode 100644 index b35383e6e8..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 7f66a148fb..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java +++ /dev/null @@ -1,412 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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 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 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(); - - 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.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 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/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 deleted file mode 100644 index 9717021f5d..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java +++ /dev/null @@ -1,1782 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 6a79402f73..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java +++ /dev/null @@ -1,2360 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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()) - .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") - .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") - .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") - .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") - .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") - .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()) - .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 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 deleted file mode 100644 index 09e4031ca4..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 9492e24272..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java +++ /dev/null @@ -1,525 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index a8b562a1d3..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index 211197811a..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java +++ /dev/null @@ -1,591 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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 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 deleted file mode 100644 index 48bbc8d337..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java +++ /dev/null @@ -1,962 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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.TableName; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.ByteString; -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) - .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) - .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()) - .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. - } - } -} 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 deleted file mode 100644 index 56c8ba8470..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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 deleted file mode 100644 index fc7aaf4a6d..0000000000 --- a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java +++ /dev/null @@ -1,222 +0,0 @@ -/* - * Copyright 2022 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -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.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.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()))); - } - } -} 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 deleted file mode 100644 index a657dd7292..0000000000 --- a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java +++ /dev/null @@ -1,2145 +0,0 @@ -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 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 static abstract class BigtableInstanceAdminImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); - } - - /** - *
-     * Gets information about an instance.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_CREATE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetInstanceRequest, - com.google.bigtable.admin.v2.Instance>( - this, METHODID_GET_INSTANCE))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse>( - this, METHODID_LIST_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance>( - this, METHODID_UPDATE_INSTANCE))) - .addMethod( - getPartialUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation>( - this, METHODID_PARTIAL_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteInstanceRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_INSTANCE))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CLUSTER))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetClusterRequest, - com.google.bigtable.admin.v2.Cluster>( - this, METHODID_GET_CLUSTER))) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse>( - this, METHODID_LIST_CLUSTERS))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Cluster, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_CLUSTER))) - .addMethod( - getPartialUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation>( - this, METHODID_PARTIAL_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteClusterRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_CLUSTER))) - .addMethod( - getCreateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>( - this, 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>( - this, 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>( - this, METHODID_LIST_APP_PROFILES))) - .addMethod( - getUpdateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_APP_PROFILE))) - .addMethod( - getDeleteAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_APP_PROFILE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, 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>( - this, METHODID_LIST_HOT_TABLETS))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 BigtableInstanceAdminImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableInstanceAdminImplBase 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(); - } - } - } - - 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 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/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 deleted file mode 100644 index 6355e6ba24..0000000000 --- a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ /dev/null @@ -1,2519 +0,0 @@ -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 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 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 static abstract class BigtableTableAdminImplBase implements io.grpc.BindableService { - - /** - *
-     * Creates a new table in the specified instance.
-     * The table can be created with a full set of initial column families,
-     * specified in the request.
-     * 
- */ - public void createTable(com.google.bigtable.admin.v2.CreateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), responseObserver); - } - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableFromSnapshotMethod(), responseObserver); - } - - /** - *
-     * Lists all tables served from a specified instance.
-     * 
- */ - public void listTables(com.google.bigtable.admin.v2.ListTablesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTablesMethod(), responseObserver); - } - - /** - *
-     * Gets metadata information about the specified table.
-     * 
- */ - public void getTable(com.google.bigtable.admin.v2.GetTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMethod(), responseObserver); - } - - /** - *
-     * Updates a specified table.
-     * 
- */ - public void updateTable(com.google.bigtable.admin.v2.UpdateTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTableMethod(), responseObserver); - } - - /** - *
-     * Permanently deletes a specified table and all of its data.
-     * 
- */ - public void deleteTable(com.google.bigtable.admin.v2.DeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTableMethod(), responseObserver); - } - - /** - *
-     * Restores a specified table which was accidentally deleted.
-     * 
- */ - public void undeleteTable(com.google.bigtable.admin.v2.UndeleteTableRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUndeleteTableMethod(), responseObserver); - } - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getModifyColumnFamiliesMethod(), responseObserver); - } - - /** - *
-     * Permanently drop/delete a row range from a specified table. The request can
-     * specify whether to delete all rows in a table, or only those that match a
-     * particular prefix.
-     * 
- */ - public void dropRowRange(com.google.bigtable.admin.v2.DropRowRangeRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropRowRangeMethod(), responseObserver); - } - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getGenerateConsistencyTokenMethod(), responseObserver); - } - - /** - *
-     * Checks replication consistency based on a consistency token, that is, if
-     * replication has caught up based on the conditions specified in the token
-     * and the check request.
-     * 
- */ - public void checkConsistency(com.google.bigtable.admin.v2.CheckConsistencyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckConsistencyMethod(), responseObserver); - } - - /** - *
-     * 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.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.
-     * 
- */ - public void getSnapshot(com.google.bigtable.admin.v2.GetSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetSnapshotMethod(), responseObserver); - } - - /** - *
-     * Lists all snapshots associated with the specified cluster.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * 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.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.
-     * 
- */ - public void deleteSnapshot(com.google.bigtable.admin.v2.DeleteSnapshotRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSnapshotMethod(), responseObserver); - } - - /** - *
-     * Starts creating a new Cloud Bigtable Backup.  The returned backup
-     * [long-running operation][google.longrunning.Operation] can be used to
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateBackupMethod(), responseObserver); - } - - /** - *
-     * Gets metadata on a pending or completed Cloud Bigtable Backup.
-     * 
- */ - public void getBackup(com.google.bigtable.admin.v2.GetBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBackupMethod(), responseObserver); - } - - /** - *
-     * Updates a pending or completed Cloud Bigtable Backup.
-     * 
- */ - public void updateBackup(com.google.bigtable.admin.v2.UpdateBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateBackupMethod(), responseObserver); - } - - /** - *
-     * Deletes a pending or completed Cloud Bigtable backup.
-     * 
- */ - public void deleteBackup(com.google.bigtable.admin.v2.DeleteBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBackupMethod(), responseObserver); - } - - /** - *
-     * Lists Cloud Bigtable backups. Returns both completed and pending
-     * backups.
-     * 
- */ - public void listBackups(com.google.bigtable.admin.v2.ListBackupsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBackupsMethod(), responseObserver); - } - - /** - *
-     * Create a new table by restoring from a completed backup. The new table
-     * must be in the same project as the instance containing the backup.  The
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getRestoreTableMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_CREATE_TABLE))) - .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_TABLE_FROM_SNAPSHOT))) - .addMethod( - getListTablesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListTablesRequest, - com.google.bigtable.admin.v2.ListTablesResponse>( - this, METHODID_LIST_TABLES))) - .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_GET_TABLE))) - .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_TABLE))) - .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TABLE))) - .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>( - this, METHODID_UNDELETE_TABLE))) - .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>( - this, METHODID_MODIFY_COLUMN_FAMILIES))) - .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, - com.google.protobuf.Empty>( - this, 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>( - this, 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>( - this, METHODID_CHECK_CONSISTENCY))) - .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>( - this, METHODID_SNAPSHOT_TABLE))) - .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>( - this, METHODID_GET_SNAPSHOT))) - .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - this, METHODID_LIST_SNAPSHOTS))) - .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_SNAPSHOT))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_BACKUP))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>( - this, METHODID_GET_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>( - this, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_BACKUP))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - this, METHODID_LIST_BACKUPS))) - .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>( - this, METHODID_RESTORE_TABLE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - } - - /** - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - *
-     * 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); - } - } - - /** - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - *
-     * 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); - } - } - - /** - *
-   * 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 new table
-     * must be in the same project as the instance containing the 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); - } - - /** - *
-     * 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_GET_IAM_POLICY = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_TEST_IAM_PERMISSIONS = 23; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final BigtableTableAdminImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableTableAdminImplBase 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_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(); - } - } - } - - 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 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(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 deleted file mode 100644 index 4368d34841..0000000000 --- a/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java +++ /dev/null @@ -1,840 +0,0 @@ -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 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; - } - - /** - * 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 static abstract class BigtableImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.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.
-     * 
- */ - public 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`.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public 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.
-     * 
- */ - public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, METHODID_READ_ROWS))) - .addMethod( - getSampleRowKeysMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse>( - this, METHODID_SAMPLE_ROW_KEYS))) - .addMethod( - getMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowRequest, - com.google.bigtable.v2.MutateRowResponse>( - this, METHODID_MUTATE_ROW))) - .addMethod( - getMutateRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowsRequest, - com.google.bigtable.v2.MutateRowsResponse>( - this, METHODID_MUTATE_ROWS))) - .addMethod( - getCheckAndMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse>( - this, METHODID_CHECK_AND_MUTATE_ROW))) - .addMethod( - getPingAndWarmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.PingAndWarmRequest, - com.google.bigtable.v2.PingAndWarmResponse>( - this, METHODID_PING_AND_WARM))) - .addMethod( - getReadModifyWriteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse>( - this, METHODID_READ_MODIFY_WRITE_ROW))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 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 BigtableImplBase serviceImpl; - private final int methodId; - - MethodHandlers(BigtableImplBase 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; - 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(); - } - } - } - - 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 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()) - .build(); - } - } - } - return result; - } -} 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 deleted file mode 100644 index 7ade2d8126..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java +++ /dev/null @@ -1,618 +0,0 @@ -// 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\"\333\002\n\025Crea" + - "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" + - "-\n+cloudresourcemanager.googleapis.com/P" + - "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" + - "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" + - "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" + - "igtable.admin.v2.CreateInstanceRequest.C" + - "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" + - "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" + - ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" + - "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" + - ".googleapis.com/Instance\"o\n\024ListInstance" + - "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + - "esourcemanager.googleapis.com/Project\022\022\n" + - "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" + - "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" + - ".admin.v2.Instance\022\030\n\020failed_locations\030\002" + - " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" + - "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" + - "2\".google.bigtable.admin.v2.InstanceB\003\340A" + - "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + - ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" + - "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" + - "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" + - "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" + - "admin.googleapis.com/Instance\022\027\n\ncluster" + - "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" + - ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" + - "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" + - "ableadmin.googleapis.com/Cluster\"h\n\023List" + - "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + - "%bigtableadmin.googleapis.com/Instance\022\022" + - "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" + - "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" + - "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" + - "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" + - "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" + - "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" + - "eInstanceMetadata\022I\n\020original_request\030\001 " + - "\001(\0132/.google.bigtable.admin.v2.CreateIns" + - "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " + - "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" + - "teInstanceMetadata\022P\n\020original_request\030\001" + - " \001(\01326.google.bigtable.admin.v2.PartialU" + - "pdateInstanceRequest\0220\n\014request_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" + - "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + - "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" + - "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" + - "reateClusterRequest\0220\n\014request_time\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + - "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" + - "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" + - "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" + - "TableProgress\022\034\n\024estimated_size_bytes\030\002 " + - "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" + - "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" + - "eateClusterMetadata.TableProgress.State\"" + - "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" + - "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" + - "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" + - "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" + - "eateClusterMetadata.TableProgress:\0028\001\"\267\001" + - "\n\025UpdateClusterMetadata\022;\n\020original_requ" + - "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" + - "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" + - "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" + - ".google.protobuf.Timestamp\022/\n\013finish_tim" + - "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" + - "riginal_request\030\003 \001(\01325.google.bigtable." + - "admin.v2.PartialUpdateClusterRequest\"\214\001\n" + - "\033PartialUpdateClusterRequest\0227\n\007cluster\030" + - "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" + - "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" + - "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" + - "eadmin.googleapis.com/Instance\022\033\n\016app_pr" + - "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" + - "2$.google.bigtable.admin.v2.AppProfileB\003" + - "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" + - "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" + - "ableadmin.googleapis.com/AppProfile\"~\n\026L" + - "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" + - "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" + - "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " + - "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" + - "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" + - ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" + - "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" + - "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" + - ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" + - "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" + - "A)\n\'bigtableadmin.googleapis.com/AppProf" + - "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" + - "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" + - "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" + - "eadmin.googleapis.com/Cluster\022.\n\nstart_t" + - "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + - "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + - "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" + - "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" + - "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" + - "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" + - "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" + - "oogle.bigtable.admin.v2.CreateInstanceRe" + - "quest\032\035.google.longrunning.Operation\"x\202\323" + - "\344\223\002&\"!/v2/{parent=projects/*}/instances:" + - "\001*\332A$parent,instance_id,instance,cluster" + - "s\312A\"\n\010Instance\022\026CreateInstanceMetadata\022\221" + - "\001\n\013GetInstance\022,.google.bigtable.admin.v" + - "2.GetInstanceRequest\032\".google.bigtable.a" + - "dmin.v2.Instance\"0\202\323\344\223\002#\022!/v2/{name=proj" + - "ects/*/instances/*}\332A\004name\022\244\001\n\rListInsta" + - "nces\022..google.bigtable.admin.v2.ListInst" + - "ancesRequest\032/.google.bigtable.admin.v2." + - "ListInstancesResponse\"2\202\323\344\223\002#\022!/v2/{pare" + - "nt=projects/*}/instances\332A\006parent\022\206\001\n\016Up" + - "dateInstance\022\".google.bigtable.admin.v2." + - "Instance\032\".google.bigtable.admin.v2.Inst" + - "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" + - "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" + - "oogle.bigtable.admin.v2.PartialUpdateIns" + - "tanceRequest\032\035.google.longrunning.Operat" + - "ion\"x\202\323\344\223\00262*/v2/{instance.name=projects" + - "/*/instances/*}:\010instance\332A\024instance,upd" + - "ate_mask\312A\"\n\010Instance\022\026UpdateInstanceMet" + - "adata\022\213\001\n\016DeleteInstance\022/.google.bigtab" + - "le.admin.v2.DeleteInstanceRequest\032\026.goog" + - "le.protobuf.Empty\"0\202\323\344\223\002#*!/v2/{name=pro" + - "jects/*/instances/*}\332A\004name\022\334\001\n\rCreateCl" + - "uster\022..google.bigtable.admin.v2.CreateC" + - "lusterRequest\032\035.google.longrunning.Opera" + - "tion\"|\202\323\344\223\0027\",/v2/{parent=projects/*/ins" + - "tances/*}/clusters:\007cluster\332A\031parent,clu" + - "ster_id,cluster\312A \n\007Cluster\022\025CreateClust" + - "erMetadata\022\231\001\n\nGetCluster\022+.google.bigta" + - "ble.admin.v2.GetClusterRequest\032!.google." + - "bigtable.admin.v2.Cluster\";\202\323\344\223\002.\022,/v2/{" + - "name=projects/*/instances/*/clusters/*}\332" + - "A\004name\022\254\001\n\014ListClusters\022-.google.bigtabl" + - "e.admin.v2.ListClustersRequest\032..google." + - "bigtable.admin.v2.ListClustersResponse\"=" + - "\202\323\344\223\002.\022,/v2/{parent=projects/*/instances" + - "/*}/clusters\332A\006parent\022\255\001\n\rUpdateCluster\022" + - "!.google.bigtable.admin.v2.Cluster\032\035.goo" + - "gle.longrunning.Operation\"Z\202\323\344\223\0021\032,/v2/{" + - "name=projects/*/instances/*/clusters/*}:" + - "\001*\312A \n\007Cluster\022\025UpdateClusterMetadata\022\364\001" + - "\n\024PartialUpdateCluster\0225.google.bigtable" + - ".admin.v2.PartialUpdateClusterRequest\032\035." + - "google.longrunning.Operation\"\205\001\202\323\344\223\002?24/" + - "v2/{cluster.name=projects/*/instances/*/" + - "clusters/*}:\007cluster\332A\023cluster,update_ma" + - "sk\312A\'\n\007Cluster\022\034PartialUpdateClusterMeta" + - "data\022\224\001\n\rDeleteCluster\022..google.bigtable" + - ".admin.v2.DeleteClusterRequest\032\026.google." + - "protobuf.Empty\";\202\323\344\223\002.*,/v2/{name=projec" + - "ts/*/instances/*/clusters/*}\332A\004name\022\325\001\n\020" + - "CreateAppProfile\0221.google.bigtable.admin" + - ".v2.CreateAppProfileRequest\032$.google.big" + - "table.admin.v2.AppProfile\"h\202\323\344\223\002>\"//v2/{" + - "parent=projects/*/instances/*}/appProfil" + - "es:\013app_profile\332A!parent,app_profile_id," + - "app_profile\022\245\001\n\rGetAppProfile\022..google.b" + - "igtable.admin.v2.GetAppProfileRequest\032$." + - "google.bigtable.admin.v2.AppProfile\">\202\323\344" + - "\223\0021\022//v2/{name=projects/*/instances/*/ap" + - "pProfiles/*}\332A\004name\022\270\001\n\017ListAppProfiles\022" + - "0.google.bigtable.admin.v2.ListAppProfil" + - "esRequest\0321.google.bigtable.admin.v2.Lis" + - "tAppProfilesResponse\"@\202\323\344\223\0021\022//v2/{paren" + - "t=projects/*/instances/*}/appProfiles\332A\006" + - "parent\022\372\001\n\020UpdateAppProfile\0221.google.big" + - "table.admin.v2.UpdateAppProfileRequest\032\035" + - ".google.longrunning.Operation\"\223\001\202\323\344\223\002J2;" + - "/v2/{app_profile.name=projects/*/instanc" + - "es/*/appProfiles/*}:\013app_profile\332A\027app_p" + - "rofile,update_mask\312A&\n\nAppProfile\022\030Updat" + - "eAppProfileMetadata\022\235\001\n\020DeleteAppProfile" + - "\0221.google.bigtable.admin.v2.DeleteAppPro" + - "fileRequest\032\026.google.protobuf.Empty\">\202\323\344" + - "\223\0021*//v2/{name=projects/*/instances/*/ap" + - "pProfiles/*}\332A\004name\022\223\001\n\014GetIamPolicy\022\".g" + - "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + - "e.iam.v1.Policy\"H\202\323\344\223\0027\"2/v2/{resource=p" + - "rojects/*/instances/*}:getIamPolicy:\001*\332A" + - "\010resource\022\232\001\n\014SetIamPolicy\022\".google.iam." + - "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + - "olicy\"O\202\323\344\223\0027\"2/v2/{resource=projects/*/" + - "instances/*}:setIamPolicy:\001*\332A\017resource," + - "policy\022\305\001\n\022TestIamPermissions\022(.google.i" + - "am.v1.TestIamPermissionsRequest\032).google" + - ".iam.v1.TestIamPermissionsResponse\"Z\202\323\344\223" + - "\002=\"8/v2/{resource=projects/*/instances/*" + - "}:testIamPermissions:\001*\332A\024resource,permi" + - "ssions\022\277\001\n\016ListHotTablets\022/.google.bigta" + - "ble.admin.v2.ListHotTabletsRequest\0320.goo" + - "gle.bigtable.admin.v2.ListHotTabletsResp" + - "onse\"J\202\323\344\223\002;\0229/v2/{parent=projects/*/ins" + - "tances/*/clusters/*}/hotTablets\332A\006parent" + - "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" + - "tps://www.googleapis.com/auth/bigtable.a" + - "dmin,https://www.googleapis.com/auth/big" + - "table.admin.cluster,https://www.googleap" + - "is.com/auth/bigtable.admin.instance,http" + - "s://www.googleapis.com/auth/cloud-bigtab" + - "le.admin,https://www.googleapis.com/auth" + - "/cloud-bigtable.admin.cluster,https://ww" + - "w.googleapis.com/auth/cloud-platform,htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" + - "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" + - "ogle.golang.org/genproto/googleapis/bigt" + - "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" + - "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" + - "in\\V2\352\002\"Google::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 deleted file mode 100644 index bbcad227f5..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ /dev/null @@ -1,722 +0,0 @@ -// 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; - - 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\"\261\001\n\023RestoreTableRequest" + - "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + - "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + - "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + - "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + - "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + - "ource_type\030\002 \001(\0162+.google.bigtable.admin" + - ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + - "(\0132$.google.bigtable.admin.v2.BackupInfo" + - "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + - "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + - "min.v2.OperationProgressB\r\n\013source_info\"" + - "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + - "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + - "le.admin.v2.OperationProgress\"\201\002\n\022Create" + - "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + - "gtableadmin.googleapis.com/Instance\022\025\n\010t" + - "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + - "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + - "al_splits\030\004 \003(\01322.google.bigtable.admin." + - "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + - "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + - "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + - "min.googleapis.com/Instance\022\025\n\010table_id\030" + - "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + - "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + - "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + - "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + - "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + - "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + - "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + - "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + - "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + - "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + - "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + - "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + - "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + - "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + - "\0162$.google.bigtable.admin.v2.Table.View\"" + - "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + - "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + - "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + - "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + - "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + - "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + - "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + - "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + - "googleapis.com/Table\"P\n\024UndeleteTableReq" + - "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + - "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + - "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + - "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + - "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" + - "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + - "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + - "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + - "igtable.admin.v2.ModifyColumnFamiliesReq" + - "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" + - "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" + - "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" + - "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" + - "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" + - "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" + - "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" + - "ble\"=\n GenerateConsistencyTokenResponse\022" + - "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" + - "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" + - "tableadmin.googleapis.com/Table\022\036\n\021consi" + - "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" + - "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" + - "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + - "bigtableadmin.googleapis.com/Table\022=\n\007cl" + - "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" + - "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" + - "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" + - "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" + - "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + - "min.googleapis.com/Snapshot\"{\n\024ListSnaps" + - "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" + - "tableadmin.googleapis.com/Cluster\022\021\n\tpag" + - "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" + - "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" + - "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" + - "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" + - "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + - "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" + - "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" + - "ogle.bigtable.admin.v2.SnapshotTableRequ" + - "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" + - "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" + - "omSnapshotMetadata\022R\n\020original_request\030\001" + - " \001(\01328.google.bigtable.admin.v2.CreateTa" + - "bleFromSnapshotRequest\0220\n\014request_time\030\002" + - " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + - "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" + - "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + - "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" + - "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" + - "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" + - "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" + - "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + - "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + - "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" + - "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" + - "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + - "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" + - "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" + - "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" + - "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" + - "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" + - "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" + - "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" + - "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" + - "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" + - "backups\030\001 \003(\0132 .google.bigtable.admin.v2" + - ".Backup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Big" + - "tableTableAdmin\022\253\001\n\013CreateTable\022,.google" + - ".bigtable.admin.v2.CreateTableRequest\032\037." + - "google.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*" + - "/v2/{parent=projects/*/instances/*}/tabl" + - "es:\001*\332A\025parent,table_id,table\022\212\002\n\027Create" + - "TableFromSnapshot\0228.google.bigtable.admi" + - "n.v2.CreateTableFromSnapshotRequest\032\035.go" + - "ogle.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2" + - "/{parent=projects/*/instances/*}/tables:" + - "createFromSnapshot:\001*\332A\037parent,table_id," + - "source_snapshot\312A(\n\005Table\022\037CreateTableFr" + - "omSnapshotMetadata\022\244\001\n\nListTables\022+.goog" + - "le.bigtable.admin.v2.ListTablesRequest\032," + - ".google.bigtable.admin.v2.ListTablesResp" + - "onse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/ins" + - "tances/*}/tables\332A\006parent\022\221\001\n\010GetTable\022)" + - ".google.bigtable.admin.v2.GetTableReques" + - "t\032\037.google.bigtable.admin.v2.Table\"9\202\323\344\223" + - "\002,\022*/v2/{name=projects/*/instances/*/tab" + - "les/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.b" + - "igtable.admin.v2.UpdateTableRequest\032\035.go" + - "ogle.longrunning.Operation\"r\202\323\344\223\002920/v2/" + - "{table.name=projects/*/instances/*/table" + - "s/*}:\005table\332A\021table,update_mask\312A\034\n\005Tabl" + - "e\022\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022," + - ".google.bigtable.admin.v2.DeleteTableReq" + - "uest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v" + - "2/{name=projects/*/instances/*/tables/*}" + - "\332A\004name\022\306\001\n\rUndeleteTable\022..google.bigta" + - "ble.admin.v2.UndeleteTableRequest\032\035.goog" + - "le.longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{n" + - "ame=projects/*/instances/*/tables/*}:und" + - "elete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTable" + - "Metadata\022\317\001\n\024ModifyColumnFamilies\0225.goog" + - "le.bigtable.admin.v2.ModifyColumnFamilie" + - "sRequest\032\037.google.bigtable.admin.v2.Tabl" + - "e\"_\202\323\344\223\002D\"?/v2/{name=projects/*/instance" + - "s/*/tables/*}:modifyColumnFamilies:\001*\332A\022" + - "name,modifications\022\231\001\n\014DropRowRange\022-.go" + - "ogle.bigtable.admin.v2.DropRowRangeReque" + - "st\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/" + - "{name=projects/*/instances/*/tables/*}:d" + - "ropRowRange:\001*\022\350\001\n\030GenerateConsistencyTo" + - "ken\0229.google.bigtable.admin.v2.GenerateC" + - "onsistencyTokenRequest\032:.google.bigtable" + - ".admin.v2.GenerateConsistencyTokenRespon" + - "se\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instanc" + - "es/*/tables/*}:generateConsistencyToken:" + - "\001*\332A\004name\022\332\001\n\020CheckConsistency\0221.google." + - "bigtable.admin.v2.CheckConsistencyReques" + - "t\0322.google.bigtable.admin.v2.CheckConsis" + - "tencyResponse\"_\202\323\344\223\002@\";/v2/{name=project" + - "s/*/instances/*/tables/*}:checkConsisten" + - "cy:\001*\332A\026name,consistency_token\022\352\001\n\rSnaps" + - "hotTable\022..google.bigtable.admin.v2.Snap" + - "shotTableRequest\032\035.google.longrunning.Op" + - "eration\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/i" + - "nstances/*/tables/*}:snapshot:\001*\332A$name," + - "cluster,snapshot_id,description\312A!\n\010Snap" + - "shot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnaps" + - "hot\022,.google.bigtable.admin.v2.GetSnapsh" + - "otRequest\032\".google.bigtable.admin.v2.Sna" + - "pshot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/inst" + - "ances/*/clusters/*/snapshots/*}\332A\004name\022\273" + - "\001\n\rListSnapshots\022..google.bigtable.admin" + - ".v2.ListSnapshotsRequest\032/.google.bigtab" + - "le.admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002" + - ":\0228/v2/{parent=projects/*/instances/*/cl" + - "usters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteS" + - "napshot\022/.google.bigtable.admin.v2.Delet" + - "eSnapshotRequest\032\026.google.protobuf.Empty" + - "\"G\202\323\344\223\002:*8/v2/{name=projects/*/instances" + - "/*/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Cr" + - "eateBackup\022-.google.bigtable.admin.v2.Cr" + - "eateBackupRequest\032\035.google.longrunning.O" + - "peration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/" + - "*/instances/*/clusters/*}/backups:\006backu" + - "p\332A\027parent,backup_id,backup\312A\036\n\006Backup\022\024" + - "CreateBackupMetadata\022\240\001\n\tGetBackup\022*.goo" + - "gle.bigtable.admin.v2.GetBackupRequest\032 " + - ".google.bigtable.admin.v2.Backup\"E\202\323\344\223\0028" + - "\0226/v2/{name=projects/*/instances/*/clust" + - "ers/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup" + - "\022-.google.bigtable.admin.v2.UpdateBackup" + - "Request\032 .google.bigtable.admin.v2.Backu" + - "p\"b\202\323\344\223\002G2=/v2/{backup.name=projects/*/i" + - "nstances/*/clusters/*/backups/*}:\006backup" + - "\332A\022backup,update_mask\022\234\001\n\014DeleteBackup\022-" + - ".google.bigtable.admin.v2.DeleteBackupRe" + - "quest\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/" + - "v2/{name=projects/*/instances/*/clusters" + - "/*/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.g" + - "oogle.bigtable.admin.v2.ListBackupsReque" + - "st\032-.google.bigtable.admin.v2.ListBackup" + - "sResponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/" + - "*/instances/*/clusters/*}/backups\332A\006pare" + - "nt\022\273\001\n\014RestoreTable\022-.google.bigtable.ad" + - "min.v2.RestoreTableRequest\032\035.google.long" + - "running.Operation\"]\202\323\344\223\0027\"2/v2/{parent=p" + - "rojects/*/instances/*}/tables:restore:\001*" + - "\312A\035\n\005Table\022\024RestoreTableMetadata\022\354\001\n\014Get" + - "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" + - "quest\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";" + - "/v2/{resource=projects/*/instances/*/tab" + - "les/*}:getIamPolicy:\001*ZL\"G/v2/{resource=" + - "projects/*/instances/*/clusters/*/backup" + - "s/*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetI" + - "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + - "uest\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/" + - "v2/{resource=projects/*/instances/*/tabl" + - "es/*}:setIamPolicy:\001*ZL\"G/v2/{resource=p" + - "rojects/*/instances/*/clusters/*/backups" + - "/*}:setIamPolicy:\001*\332A\017resource,policy\022\244\002" + - "\n\022TestIamPermissions\022(.google.iam.v1.Tes" + - "tIamPermissionsRequest\032).google.iam.v1.T" + - "estIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2" + - "/{resource=projects/*/instances/*/tables" + - "/*}:testIamPermissions:\001*ZR\"M/v2/{resour" + - "ce=projects/*/instances/*/clusters/*/bac" + - "kups/*}:testIamPermissions:\001*\332A\024resource" + - ",permissions\032\336\002\312A\034bigtableadmin.googleap" + - "is.com\322A\273\002https://www.googleapis.com/aut" + - "h/bigtable.admin,https://www.googleapis." + - "com/auth/bigtable.admin.table,https://ww" + - "w.googleapis.com/auth/cloud-bigtable.adm" + - "in,https://www.googleapis.com/auth/cloud" + - "-bigtable.admin.table,https://www.google" + - "apis.com/auth/cloud-platform,https://www" + - ".googleapis.com/auth/cloud-platform.read" + - "-onlyB\337\001\n\034com.google.bigtable.admin.v2B\027" + - "BigtableTableAdminProtoP\001Z=google.golang" + - ".org/genproto/googleapis/bigtable/admin/" + - "v2;admin\252\002\036Google.Cloud.Bigtable.Admin.V" + - "2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Goo" + - "gle::Cloud::Bigtable::Admin::V2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - 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", }); - 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/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 deleted file mode 100644 index b2ae3cc51b..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// 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/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 deleted file mode 100644 index 5ec192d3c2..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java +++ /dev/null @@ -1,61 +0,0 @@ -// 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/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 deleted file mode 100644 index fb163957d0..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index ceb031d253..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/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 deleted file mode 100644 index 8fbd66b41d..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/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 deleted file mode 100644 index 62fe94e7df..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index 8dd5db9569..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index d5d52abf01..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index 082dce3212..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// 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/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 deleted file mode 100644 index 2ed3f34aa3..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/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 deleted file mode 100644 index ee25cfddc0..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index de11736bdd..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/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 deleted file mode 100644 index 5f46e6ad12..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// 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/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 deleted file mode 100644 index af176c000d..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index 3546cd4581..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java +++ /dev/null @@ -1,263 +0,0 @@ -// 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\"" + - "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" + - "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" + - "gtable.admin.v2.Instance.State\0225\n\004type\030\004" + - " \001(\0162\'.google.bigtable.admin.v2.Instance" + - ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." + - "admin.v2.Instance.LabelsEntry\0224\n\013create_" + - "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + - "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" + - "LabelsEntry\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\005REA" + - "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" + - "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" + - "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" + - "tance\022\'projects/{project}/instances/{ins" + - "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" + - "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" + - "(\n storage_utilization_gib_per_node\030\003 \001(" + - "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" + - "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" + - "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" + - "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" + - "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" + - "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" + - "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" + - "ogle.bigtable.admin.v2.Cluster.ClusterCo" + - "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" + - "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" + - "\022R\n\021encryption_config\030\006 \001(\01322.google.big" + - "table.admin.v2.Cluster.EncryptionConfigB" + - "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" + - "oscaling_limits\030\001 \001(\0132+.google.bigtable." + - "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" + - "caling_targets\030\002 \001(\0132,.google.bigtable.a" + - "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" + - "erConfig\022^\n\032cluster_autoscaling_config\030\001" + - " \001(\0132:.google.bigtable.admin.v2.Cluster." + - "ClusterAutoscalingConfig\032P\n\020EncryptionCo" + - "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" + - "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" + - "TATE_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$bigt" + - "ableadmin.googleapis.com/Cluster\022:projec" + - "ts/{project}/instances/{instance}/cluste" + - "rs/{cluster}B\010\n\006config\"\210\004\n\nAppProfile\022\014\n" + - "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" + - "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" + - "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" + - "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" + - "e_cluster_routing\030\006 \001(\01329.google.bigtabl" + - "e.admin.v2.AppProfile.SingleClusterRouti" + - "ngH\000\0320\n\031MultiClusterRoutingUseAny\022\023\n\013clu" + - "ster_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022" + - "\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_transactiona" + - "l_writes\030\002 \001(\010:o\352Al\n\'bigtableadmin.googl" + - "eapis.com/AppProfile\022Aprojects/{project}" + - "/instances/{instance}/appProfiles/{app_p" + - "rofile}B\020\n\016routing_policy\"\210\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\0223\n\nst" + - "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0221\n\010end_time\030\004 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\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\003\340A\003:\177\352A|\n&bigtableadmin.googleap" + - "is.com/HotTablet\022Rprojects/{project}/ins" + - "tances/{instance}/clusters/{cluster}/hot" + - "Tablets/{hot_tablet}B\320\002\n\034com.google.bigt" + - "able.admin.v2B\rInstanceProtoP\001Z=google.g" + - "olang.org/genproto/googleapis/bigtable/a" + - "dmin/v2;admin\252\002\036Google.Cloud.Bigtable.Ad" + - "min.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352" + - "\002\"Google::Cloud::Bigtable::Admin::V2\352Ax\n" + - "!cloudkms.googleapis.com/CryptoKey\022Sproj" + - "ects/{project}/locations/{location}/keyR" + - "ings/{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/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 deleted file mode 100644 index d462896cee..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ /dev/null @@ -1,294 +0,0 @@ -// 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_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\"\216\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016" + - "cluster_states\030\002 \003(\01322.google.bigtable.a" + - "dmin.v2.Table.ClusterStatesEntryB\003\340A\003\022L\n" + - "\017column_families\030\003 \003(\01323.google.bigtable" + - ".admin.v2.Table.ColumnFamiliesEntry\022N\n\013g" + - "ranularity\030\004 \001(\01624.google.bigtable.admin" + - ".v2.Table.TimestampGranularityB\003\340A\005\022@\n\014r" + - "estore_info\030\006 \001(\0132%.google.bigtable.admi" + - "n.v2.RestoreInfoB\003\340A\003\022\033\n\023deletion_protec" + - "tion\030\t \001(\010\032\306\002\n\014ClusterState\022]\n\021replicati" + - "on_state\030\001 \001(\0162=.google.bigtable.admin.v" + - "2.Table.ClusterState.ReplicationStateB\003\340" + - "A\003\022F\n\017encryption_info\030\002 \003(\0132(.google.big" + - "table.admin.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020R" + - "eplicationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014" + - "INITIALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022" + - "\031\n\025UNPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n" + - "\020READY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntr" + - "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.b" + - "igtable.admin.v2.Table.ClusterState:\0028\001\032" + - "]\n\023ColumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005v" + - "alue\030\002 \001(\0132&.google.bigtable.admin.v2.Co" + - "lumnFamily:\0028\001\"I\n\024TimestampGranularity\022%" + - "\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n" + - "\006MILLIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022" + - "\r\n\tNAME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLI" + - "CATION_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FU" + - "LL\020\004:_\352A\\\n\"bigtableadmin.googleapis.com/" + - "Table\0226projects/{project}/instances/{ins" + - "tance}/tables/{table}\"A\n\014ColumnFamily\0221\n" + - "\007gc_rule\030\001 \001(\0132 .google.bigtable.admin.v" + - "2.GcRule\"\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.protob" + - "uf.DurationH\000\022E\n\014intersection\030\003 \001(\0132-.go" + - "ogle.bigtable.admin.v2.GcRule.Intersecti" + - "onH\000\0227\n\005union\030\004 \001(\0132&.google.bigtable.ad" + - "min.v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n" + - "\005rules\030\001 \003(\0132 .google.bigtable.admin.v2." + - "GcRule\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google." + - "bigtable.admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016Enc" + - "ryptionInfo\022U\n\017encryption_type\030\003 \001(\01627.g" + - "oogle.bigtable.admin.v2.EncryptionInfo.E" + - "ncryptionTypeB\003\340A\003\0222\n\021encryption_status\030" + - "\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\022I\n\017kms_ke" + - "y_version\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.google" + - "apis.com/CryptoKeyVersion\"q\n\016EncryptionT" + - "ype\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031" + - "GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_" + - "MANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004nam" + - "e\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.b" + - "igtable.admin.v2.Table\022\027\n\017data_size_byte" + - "s\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032." + - "google.protobuf.Timestamp\0227\n\005state\030\006 \001(\016" + - "2(.google.bigtable.admin.v2.Snapshot.Sta" + - "te\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STAT" + - "E_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{" + - "\352Ax\n%bigtableadmin.googleapis.com/Snapsh" + - "ot\022Oprojects/{project}/instances/{instan" + - "ce}/clusters/{cluster}/snapshots/{snapsh" + - "ot}\"\237\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\034\n\014source_t" + - "able\030\002 \001(\tB\006\340A\005\340A\002\0224\n\013expire_time\030\003 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\002\0223\n\nstar" + - "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + - "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu" + - "f.TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A" + - "\003\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin" + - ".v2.Backup.StateB\003\340A\003\022F\n\017encryption_info" + - "\030\t \001(\0132(.google.bigtable.admin.v2.Encryp" + - "tionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIF" + - "IED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#big" + - "tableadmin.googleapis.com/Backup\022Kprojec" + - "ts/{project}/instances/{instance}/cluste" + - "rs/{cluster}/backups/{backup}\"\244\001\n\nBackup" + - "Info\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030" + - "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + - "\n\010end_time\030\003 \001(\0132\032.google.protobuf.Times" + - "tampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003*D\n\021" + - "RestoreSourceType\022#\n\037RESTORE_SOURCE_TYPE" + - "_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.googl" + - "e.bigtable.admin.v2B\nTableProtoP\001Z=googl" + - "e.golang.org/genproto/googleapis/bigtabl" + - "e/admin/v2;admin\252\002\036Google.Cloud.Bigtable" + - ".Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\" + - "V2\352\002\"Google::Cloud::Bigtable::Admin::V2\352" + - "A\246\001\n(cloudkms.googleapis.com/CryptoKeyVe" + - "rsion\022zprojects/{project}/locations/{loc" + - "ation}/keyRings/{key_ring}/cryptoKeys/{c" + - "rypto_key}/cryptoKeyVersions/{crypto_key" + - "_version}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(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_Table_descriptor = - getDescriptor().getMessageTypes().get(1); - 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", "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(2); - 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(3); - 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(4); - 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(5); - 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(6); - 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", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(7); - 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", }); - 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/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 deleted file mode 100644 index fbdabddecd..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// 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/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 deleted file mode 100644 index 738fbc3ccd..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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/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 deleted file mode 100644 index 32eda4423a..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,394 +0,0 @@ -// 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_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; - - 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/wrappers.proto\032\027google/rpc/status.p" + - "roto\"\220\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" + - " \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.c" + - "om/Table\022\026\n\016app_profile_id\030\005 \001(\t\022(\n\004rows" + - "\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022-\n\006fi" + - "lter\030\003 \001(\0132\035.google.bigtable.v2.RowFilte" + - "r\022\022\n\nrows_limit\030\004 \001(\003\022P\n\022request_stats_v" + - "iew\030\006 \001(\01624.google.bigtable.v2.ReadRowsR" + - "equest.RequestStatsView\"f\n\020RequestStatsV" + - "iew\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000\022" + - "\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_STATS" + - "_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunks\030\001" + - " \003(\0132..google.bigtable.v2.ReadRowsRespon" + - "se.CellChunk\022\034\n\024last_scanned_row_key\030\002 \001" + - "(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bigta" + - "ble.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.google" + - ".protobuf.StringValue\022.\n\tqualifier\030\003 \001(\013" + - "2\033.google.protobuf.BytesValue\022\030\n\020timesta" + - "mp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value" + - "\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_sta" + - "tus\"n\n\024SampleRowKeysRequest\022>\n\ntable_nam" + - "e\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapi" + - "s.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025S" + - "ampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n" + - "\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest" + - "\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" + - "min.googleapis.com/Table\022\026\n\016app_profile_" + - "id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutati" + - "ons\030\003 \003(\0132\034.google.bigtable.v2.MutationB" + - "\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateRows" + - "Request\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"big" + - "tableadmin.googleapis.com/Table\022\026\n\016app_p" + - "rofile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.googl" + - "e.bigtable.v2.MutateRowsRequest.EntryB\003\340" + - "A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutation" + - "s\030\002 \003(\0132\034.google.bigtable.v2.MutationB\003\340" + - "A\002\"\217\001\n\022MutateRowsResponse\022=\n\007entries\030\001 \003" + - "(\0132,.google.bigtable.v2.MutateRowsRespon" + - "se.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006stat" + - "us\030\002 \001(\0132\022.google.rpc.Status\"\256\002\n\030CheckAn" + - "dMutateRowRequest\022>\n\ntable_name\030\001 \001(\tB*\340" + - "A\002\372A$\n\"bigtableadmin.googleapis.com/Tabl" + - "e\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001" + - "(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035.goog" + - "le.bigtable.v2.RowFilter\0224\n\016true_mutatio" + - "ns\030\004 \003(\0132\034.google.bigtable.v2.Mutation\0225" + - "\n\017false_mutations\030\005 \003(\0132\034.google.bigtabl" + - "e.v2.Mutation\"6\n\031CheckAndMutateRowRespon" + - "se\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022PingAnd" + - "WarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigta" + - "bleadmin.googleapis.com/Instance\022\026\n\016app_" + - "profile_id\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"" + - "\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntable_n" + - "ame\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googlea" + - "pis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n" + - "\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.goo" + - "gle.bigtable.v2.ReadModifyWriteRuleB\003\340A\002" + - "\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001 " + - "\001(\0132\027.google.bigtable.v2.Row2\260\024\n\010Bigtabl" + - "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + - "RowsRequest\032$.google.bigtable.v2.ReadRow" + - "sResponse\"\301\001\202\323\344\223\002>\"9/v2/{table_name=proj" + - "ects/*/instances/*/tables/*}:readRows:\001*" + - "\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=projec" + - "ts/*/instances/*/tables/*}\022\020\n\016app_profil" + - "e_id\332A\ntable_name\332A\031table_name,app_profi" + - "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + - "ble.v2.SampleRowKeysRequest\032).google.big" + - "table.v2.SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022" + - ">/v2/{table_name=projects/*/instances/*/" + - "tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_n" + - "ame\022,{table_name=projects/*/instances/*/" + - "tables/*}\022\020\n\016app_profile_id\332A\ntable_name" + - "\332A\031table_name,app_profile_id0\001\022\301\002\n\tMutat" + - "eRow\022$.google.bigtable.v2.MutateRowReque" + - "st\032%.google.bigtable.v2.MutateRowRespons" + - "e\"\346\001\202\323\344\223\002?\":/v2/{table_name=projects/*/i" + - "nstances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022" + - ":\n\ntable_name\022,{table_name=projects/*/in" + - "stances/*/tables/*}\022\020\n\016app_profile_id\332A\034" + - "table_name,row_key,mutations\332A+table_nam" + - "e,row_key,mutations,app_profile_id\022\263\002\n\nM" + - "utateRows\022%.google.bigtable.v2.MutateRow" + - "sRequest\032&.google.bigtable.v2.MutateRows" + - "Response\"\323\001\202\323\344\223\002@\";/v2/{table_name=proje" + - "cts/*/instances/*/tables/*}:mutateRows:\001" + - "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + - "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + - "le_id\332A\022table_name,entries\332A!table_name," + - "entries,app_profile_id0\001\022\255\003\n\021CheckAndMut" + - "ateRow\022,.google.bigtable.v2.CheckAndMuta" + - "teRowRequest\032-.google.bigtable.v2.CheckA" + - "ndMutateRowResponse\"\272\002\202\323\344\223\002G\"B/v2/{table" + - "_name=projects/*/instances/*/tables/*}:c" + - "heckAndMutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022" + - ",{table_name=projects/*/instances/*/tabl" + - "es/*}\022\020\n\016app_profile_id\332ABtable_name,row" + - "_key,predicate_filter,true_mutations,fal" + - "se_mutations\332AQtable_name,row_key,predic" + - "ate_filter,true_mutations,false_mutation" + - "s,app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + - "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + - "e.bigtable.v2.PingAndWarmResponse\"\215\001\202\323\344\223" + - "\002+\"&/v2/{name=projects/*/instances/*}:pi" + - "ng:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=projects/*/in" + - "stances/*}\022\020\n\016app_profile_id\332A\004name\332A\023na" + - "me,app_profile_id\022\335\002\n\022ReadModifyWriteRow" + - "\022-.google.bigtable.v2.ReadModifyWriteRow" + - "Request\032..google.bigtable.v2.ReadModifyW" + - "riteRowResponse\"\347\001\202\323\344\223\002H\"C/v2/{table_nam" + - "e=projects/*/instances/*/tables/*}:readM" + - "odifyWriteRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{t" + - "able_name=projects/*/instances/*/tables/" + - "*}\022\020\n\016app_profile_id\332A\030table_name,row_ke" + - "y,rules\332A\'table_name,row_key,rules,app_p" + - "rofile_id\032\333\002\312A\027bigtable.googleapis.com\322A" + - "\275\002https://www.googleapis.com/auth/bigtab" + - "le.data,https://www.googleapis.com/auth/" + - "bigtable.data.readonly,https://www.googl" + - "eapis.com/auth/cloud-bigtable.data,https" + - "://www.googleapis.com/auth/cloud-bigtabl" + - "e.data.readonly,https://www.googleapis.c" + - "om/auth/cloud-platform,https://www.googl" + - "eapis.com/auth/cloud-platform.read-onlyB" + - "\353\002\n\026com.google.bigtable.v2B\rBigtableProt" + - "oP\001Z:google.golang.org/genproto/googleap" + - "is/bigtable/v2;bigtable\252\002\030Google.Cloud.B" + - "igtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033" + - "Google::Cloud::Bigtable::V2\352AP\n%bigtable" + - "admin.googleapis.com/Instance\022\'projects/" + - "{project}/instances/{instance}\352A\\\n\"bigta" + - "bleadmin.googleapis.com/Table\0226projects/" + - "{project}/instances/{instance}/tables/{t" + - "able}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.api.RoutingProto.getDescriptor(), - com.google.bigtable.v2.DataProto.getDescriptor(), - com.google.bigtable.v2.RequestStatsProto.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", }); - 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", }); - 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_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - 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(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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", }); - 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.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 4e64fe2a6b..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java +++ /dev/null @@ -1,20 +0,0 @@ -// 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/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 deleted file mode 100644 index e5e85c2674..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,319 +0,0 @@ -// 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; - - 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\004ruleB\265\001\n\026com.google.bigtabl" + - "e.v2B\tDataProtoP\001Z:google.golang.org/gen" + - "proto/googleapis/bigtable/v2;bigtable\252\002\030" + - "Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\" + - "Bigtable\\V2\352\002\033Google::Cloud::Bigtable::V" + - "2b\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", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 10333c3818..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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/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 deleted file mode 100644 index dabd700c48..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// 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/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 deleted file mode 100644 index 5b94333d8c..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ /dev/null @@ -1,100 +0,0 @@ -// 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/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 deleted file mode 100644 index 7596f7b23f..0000000000 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java +++ /dev/null @@ -1,54 +0,0 @@ -// 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index ac99bbe140..b8dd885f7a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -28,79 +46,93 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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
@@ -111,78 +143,88 @@ public interface MultiClusterRoutingUseAnyOrBuilder extends
    *
    * 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.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     private com.google.protobuf.LazyStringList 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 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. */ @@ -190,21 +232,24 @@ 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; @@ -216,8 +261,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -246,15 +290,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; } @@ -276,87 +320,95 @@ 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 @@ -366,6 +418,8 @@ 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
@@ -376,33 +430,34 @@ 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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -412,14 +467,16 @@ 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_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
@@ -433,7 +490,8 @@ 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);
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result =
+            new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           clusterIds_ = clusterIds_.getUnmodifiableView();
@@ -448,46 +506,53 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPa
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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_;
@@ -524,18 +589,20 @@ 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) {
@@ -545,47 +612,58 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList clusterIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList clusterIds_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureClusterIdsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
           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() { return clusterIds_.getUnmodifiableView(); } /** + * + * *
        * 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. */ @@ -593,85 +671,95 @@ 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) { + public Builder setClusterIds(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterIdsIsMutable(); + throw new NullPointerException(); + } + ensureClusterIdsIsMutable(); clusterIds_.set(index, value); 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 clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds( - java.lang.String value) { + public Builder addClusterIds(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureClusterIdsIsMutable(); + throw new NullPointerException(); + } + ensureClusterIdsIsMutable(); clusterIds_.add(value); 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 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_); 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() { @@ -681,26 +769,29 @@ public Builder clearClusterIds() { 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) { + public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -713,41 +804,44 @@ 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; @@ -759,37 +853,45 @@ 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
@@ -797,11 +899,14 @@ public interface SingleClusterRoutingOrBuilder extends
      * 
* * 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
@@ -810,52 +915,57 @@ public interface SingleClusterRoutingOrBuilder extends
    *
    * 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     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 @@ -864,29 +974,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 { @@ -897,6 +1007,8 @@ public java.lang.String getClusterId() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_; /** + * + * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -904,6 +1016,7 @@ public java.lang.String getClusterId() {
      * 
* * bool allow_transactional_writes = 2; + * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -912,6 +1025,7 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -923,8 +1037,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -944,8 +1057,7 @@ 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; @@ -955,17 +1067,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.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; } @@ -980,95 +1091,101 @@ 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 @@ -1078,6 +1195,8 @@ 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
@@ -1086,33 +1205,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1124,13 +1243,14 @@ 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();
       }
 
@@ -1145,7 +1265,8 @@ 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);
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result =
+            new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
         result.clusterId_ = clusterId_;
         result.allowTransactionalWrites_ = allowTransactionalWrites_;
         onBuilt();
@@ -1156,38 +1277,41 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting 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.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;
@@ -1195,7 +1319,9 @@ 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_;
           onChanged();
@@ -1229,22 +1355,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                clusterId_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              case 16: {
-                allowTransactionalWrites_ = input.readBool();
-
-                break;
-              } // case 16
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  clusterId_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 10
+              case 16:
+                {
+                  allowTransactionalWrites_ = input.readBool();
+
+                  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) {
@@ -1257,18 +1386,20 @@ public Builder mergeFrom(
 
       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; @@ -1277,20 +1408,21 @@ 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 { @@ -1298,61 +1430,70 @@ public java.lang.String getClusterId() { } } /** + * + * *
        * 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) { + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; 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() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); 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) { + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); 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
@@ -1360,6 +1501,7 @@ public Builder setClusterIdBytes(
        * 
* * bool allow_transactional_writes = 2; + * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1367,6 +1509,8 @@ 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
@@ -1374,16 +1518,19 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; + * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ public Builder setAllowTransactionalWrites(boolean value) { - + allowTransactionalWrites_ = value; onChanged(); return this; } /** + * + * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1391,14 +1538,16 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; + * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { - + allowTransactionalWrites_ = false; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1411,41 +1560,44 @@ 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; @@ -1457,21 +1609,24 @@ 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; 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; } @@ -1487,32 +1642,38 @@ 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; 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 @@ -1521,30 +1682,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 { @@ -1555,6 +1716,8 @@ public java.lang.String getName() { public static final int ETAG_FIELD_NUMBER = 2; private volatile java.lang.Object etag_; /** + * + * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1567,6 +1730,7 @@ public java.lang.String getName() {
    * 
* * string etag = 2; + * * @return The etag. */ @java.lang.Override @@ -1575,14 +1739,15 @@ 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
@@ -1595,16 +1760,15 @@ 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 { @@ -1615,11 +1779,14 @@ public java.lang.String getEtag() { public static final int DESCRIPTION_FIELD_NUMBER = 3; 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 @@ -1628,29 +1795,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 { @@ -1660,11 +1827,16 @@ public java.lang.String getDescription() { 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 @@ -1672,42 +1844,57 @@ 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 @@ -1715,36 +1902,45 @@ 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; @@ -1756,8 +1952,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1768,10 +1963,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -1792,12 +1989,15 @@ 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; @@ -1807,28 +2007,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.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: @@ -1867,97 +2063,104 @@ 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.
@@ -1965,33 +2168,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2013,9 +2215,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
@@ -2034,7 +2236,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);
+      com.google.bigtable.admin.v2.AppProfile result =
+          new com.google.bigtable.admin.v2.AppProfile(this);
       result.name_ = name_;
       result.etag_ = etag_;
       result.description_ = description_;
@@ -2061,38 +2264,39 @@ public com.google.bigtable.admin.v2.AppProfile 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.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;
@@ -2114,17 +2318,20 @@ 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();
@@ -2152,41 +2359,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              etag_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                etag_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -2196,12 +2407,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() {
@@ -2211,22 +2422,23 @@ public Builder clearRoutingPolicy() {
       return this;
     }
 
-
     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; @@ -2235,21 +2447,22 @@ 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 { @@ -2257,57 +2470,64 @@ 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; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2315,6 +2535,8 @@ public Builder setNameBytes( private java.lang.Object etag_ = ""; /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2327,13 +2549,13 @@ public Builder setNameBytes(
      * 
* * 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; @@ -2342,6 +2564,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2354,15 +2578,14 @@ 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 { @@ -2370,6 +2593,8 @@ public java.lang.String getEtag() { } } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2382,20 +2607,22 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; + * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag( - java.lang.String value) { + public Builder setEtag(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + etag_ = value; onChanged(); return this; } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2408,15 +2635,18 @@ public Builder setEtag(
      * 
* * string etag = 2; + * * @return This builder for chaining. */ public Builder clearEtag() { - + etag_ = getDefaultInstance().getEtag(); onChanged(); return this; } /** + * + * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2429,16 +2659,16 @@ 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) { + public Builder setEtagBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + etag_ = value; onChanged(); return this; @@ -2446,18 +2676,20 @@ public Builder setEtagBytes( 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; @@ -2466,20 +2698,21 @@ 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 { @@ -2487,67 +2720,82 @@ public java.lang.String getDescription() { } } /** + * + * *
      * 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } 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 @@ -2555,35 +2803,48 @@ 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(); @@ -2597,11 +2858,15 @@ public Builder setMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProf 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) { @@ -2615,18 +2880,29 @@ 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; } @@ -2642,11 +2918,15 @@ public Builder mergeMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppPr 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) { @@ -2665,67 +2945,97 @@ 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()); routingPolicy_ = null; } routingPolicyCase_ = 5; - onChanged();; + onChanged(); + ; return multiClusterRoutingUseAnyBuilder_; } 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 @@ -2733,11 +3043,15 @@ 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 @@ -2755,13 +3069,17 @@ 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(); @@ -2775,11 +3093,14 @@ public Builder setSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.S 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) { @@ -2793,18 +3114,27 @@ 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; } @@ -2820,11 +3150,14 @@ public Builder mergeSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile 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) { @@ -2843,24 +3176,32 @@ 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 { @@ -2871,33 +3212,43 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder get } } /** + * + * *
      * 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()); routingPolicy_ = null; } routingPolicyCase_ = 6; - onChanged();; + 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); } @@ -2907,12 +3258,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(); } @@ -2921,27 +3272,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; @@ -2956,6 +3307,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AppProfile 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/AppProfileName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java index 0a725f6ebf..ca28ff799a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -42,10 +65,13 @@ public interface AppProfileOrBuilder extends
    * 
* * 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
@@ -58,84 +84,116 @@ public interface AppProfileOrBuilder extends
    * 
* * 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(); public com.google.bigtable.admin.v2.AppProfile.RoutingPolicyCase getRoutingPolicyCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java index 63d61e709a..d6130f49e9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * 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 @@ -65,11 +86,14 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; 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 @@ -78,6 +102,7 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -89,8 +114,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -107,12 +131,10 @@ 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; @@ -122,17 +144,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.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; } @@ -153,130 +174,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -288,9 +315,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 @@ -309,7 +336,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); + com.google.bigtable.admin.v2.AutoscalingLimits result = + new com.google.bigtable.admin.v2.AutoscalingLimits(this); result.minServeNodes_ = minServeNodes_; result.maxServeNodes_ = maxServeNodes_; onBuilt(); @@ -320,38 +348,39 @@ public com.google.bigtable.admin.v2.AutoscalingLimits 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.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; @@ -392,22 +421,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - minServeNodes_ = input.readInt32(); - - break; - } // case 8 - case 16: { - maxServeNodes_ = input.readInt32(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + minServeNodes_ = input.readInt32(); + + break; + } // case 8 + case 16: + { + maxServeNodes_ = input.readInt32(); + + 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) { @@ -418,13 +450,16 @@ public Builder mergeFrom( return this; } - 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 @@ -432,42 +467,51 @@ 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. */ public Builder setMinServeNodes(int value) { - + minServeNodes_ = value; onChanged(); 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() { - + minServeNodes_ = 0; onChanged(); 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 @@ -475,37 +519,43 @@ 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. */ public Builder setMaxServeNodes(int value) { - + maxServeNodes_ = value; onChanged(); 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() { - + maxServeNodes_ = 0; 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); } @@ -515,12 +565,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(); } @@ -529,27 +579,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; @@ -564,6 +614,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingLimits 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/AutoscalingLimitsOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java similarity index 53% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java index 2725451dce..ef8bea2e1b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java @@ -1,28 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java index c5d95a6c49..d7c4351c78 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * int32 cpu_utilization_percent = 2; + * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -68,6 +89,8 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; 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
@@ -78,6 +101,7 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -86,6 +110,7 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +122,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -115,12 +139,11 @@ 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; @@ -130,17 +153,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.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; } @@ -161,130 +183,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -296,9 +324,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 @@ -317,7 +345,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); + com.google.bigtable.admin.v2.AutoscalingTargets result = + new com.google.bigtable.admin.v2.AutoscalingTargets(this); result.cpuUtilizationPercent_ = cpuUtilizationPercent_; result.storageUtilizationGibPerNode_ = storageUtilizationGibPerNode_; onBuilt(); @@ -328,38 +357,39 @@ public com.google.bigtable.admin.v2.AutoscalingTargets 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.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; @@ -367,7 +397,8 @@ 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()); } @@ -400,22 +431,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - cpuUtilizationPercent_ = input.readInt32(); - - break; - } // case 16 - case 24: { - storageUtilizationGibPerNode_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + cpuUtilizationPercent_ = input.readInt32(); + + break; + } // case 16 + case 24: + { + storageUtilizationGibPerNode_ = input.readInt32(); + + 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) { @@ -426,8 +460,10 @@ public Builder mergeFrom( return this; } - 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
@@ -436,6 +472,7 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; + * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -443,6 +480,8 @@ 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
@@ -451,16 +490,19 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; + * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ public Builder setCpuUtilizationPercent(int value) { - + cpuUtilizationPercent_ = value; onChanged(); return this; } /** + * + * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -469,17 +511,20 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; + * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { - + cpuUtilizationPercent_ = 0; onChanged(); 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
@@ -490,6 +535,7 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -497,6 +543,8 @@ 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
@@ -507,16 +555,19 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ public Builder setStorageUtilizationGibPerNode(int value) { - + storageUtilizationGibPerNode_ = value; onChanged(); 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
@@ -527,17 +578,18 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { - + storageUtilizationGibPerNode_ = 0; 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); } @@ -547,12 +599,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(); } @@ -561,27 +613,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; @@ -596,6 +648,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingTargets 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/AutoscalingTargetsOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java index 50d6b105e3..c3b9e6e256 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -16,11 +34,14 @@ public interface AutoscalingTargetsOrBuilder extends
    * 
* * 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
@@ -31,6 +52,7 @@ public interface AutoscalingTargetsOrBuilder extends
    * 
* * int32 storage_utilization_gib_per_node = 3; + * * @return The storageUtilizationGibPerNode. */ int getStorageUtilizationGibPerNode(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java index 493efdb783..95df3f17d8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -27,39 +45,43 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Backup(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
      * 
@@ -68,6 +90,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -77,6 +101,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -88,6 +114,8 @@ public enum State ; /** + * + * *
      * Not specified.
      * 
@@ -96,6 +124,8 @@ public enum State */ 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.
@@ -105,6 +135,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -113,7 +145,6 @@ public enum State */ public static final int READY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -138,49 +169,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); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + 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() { 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; @@ -200,6 +231,8 @@ private State(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -213,6 +246,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -221,14 +255,15 @@ 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
@@ -242,16 +277,15 @@ 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 { @@ -262,13 +296,18 @@ public java.lang.String getName() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; 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 @@ -277,31 +316,33 @@ 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 { @@ -312,6 +353,8 @@ public java.lang.String getSourceTable() { 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 30 days
@@ -320,7 +363,9 @@ public java.lang.String getSourceTable() {
    * 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 @@ -328,6 +373,8 @@ 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 30 days
@@ -336,7 +383,9 @@ 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 @@ -344,6 +393,8 @@ 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 30 days
@@ -352,7 +403,8 @@ 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() { @@ -362,6 +414,8 @@ 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
@@ -369,7 +423,9 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * row data in this backup will be no older than 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 @@ -377,6 +433,8 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -384,7 +442,9 @@ public boolean hasStartTime() {
    * row data in this backup will be no older than 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 @@ -392,6 +452,8 @@ 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
@@ -399,7 +461,8 @@ public com.google.protobuf.Timestamp getStartTime() {
    * row data in this backup will be no older than 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() { @@ -409,12 +472,16 @@ 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 @@ -422,12 +489,16 @@ 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 @@ -435,12 +506,15 @@ 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() { @@ -450,11 +524,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; 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 @@ -465,38 +542,56 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Backup.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.valueOf(state_); + com.google.bigtable.admin.v2.Backup.State result = + com.google.bigtable.admin.v2.Backup.State.valueOf(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 @@ -504,23 +599,34 @@ 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() { @@ -528,6 +634,7 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -539,8 +646,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -581,28 +687,22 @@ 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()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -612,39 +712,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.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 (!getName().equals(other.getName())) return false; + if (!getSourceTable().equals(other.getSourceTable())) 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; @@ -674,8 +767,7 @@ 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()) { @@ -687,130 +779,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -850,9 +947,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 @@ -904,38 +1001,39 @@ public com.google.bigtable.admin.v2.Backup 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.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; @@ -996,60 +1094,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - sourceTable_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 34 - case 42: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 42 - case 48: { - sizeBytes_ = input.readInt64(); - - break; - } // case 48 - case 56: { - state_ = input.readEnum(); - - break; - } // case 56 - case 74: { - input.readMessage( - getEncryptionInfoFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + sourceTable_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 + case 42: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 + case 48: + { + sizeBytes_ = input.readInt64(); + + break; + } // case 48 + case 56: + { + state_ = input.readEnum(); + + break; + } // case 56 + case 74: + { + input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1062,6 +1161,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1075,13 +1176,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; @@ -1090,6 +1191,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1103,15 +1206,14 @@ 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 { @@ -1119,6 +1221,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1132,20 +1236,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1159,15 +1265,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1181,16 +1290,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1198,20 +1307,24 @@ public Builder setNameBytes( 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; @@ -1220,22 +1333,25 @@ 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 { @@ -1243,60 +1359,73 @@ 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]; + * + * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable( - java.lang.String value) { + public Builder setSourceTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); 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]; + * + * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes( - com.google.protobuf.ByteString value) { + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = value; onChanged(); return this; @@ -1304,8 +1433,13 @@ public Builder setSourceTableBytes( 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 30 days
@@ -1314,13 +1448,17 @@ public Builder setSourceTableBytes(
      * 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 expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1329,17 +1467,23 @@ 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 30 days
@@ -1348,7 +1492,8 @@ 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) { @@ -1364,6 +1509,8 @@ 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 30 days
@@ -1372,10 +1519,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(); onChanged(); @@ -1386,6 +1533,8 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1394,13 +1543,14 @@ public Builder setExpireTime(
      * 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 (expireTime_ != null) { expireTime_ = - com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(expireTime_).mergeFrom(value).buildPartial(); } else { expireTime_ = value; } @@ -1412,6 +1562,8 @@ 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 30 days
@@ -1420,7 +1572,8 @@ 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() { if (expireTimeBuilder_ == null) { @@ -1434,6 +1587,8 @@ 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 30 days
@@ -1442,14 +1597,17 @@ 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() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 30 days
@@ -1458,17 +1616,21 @@ 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 30 days
@@ -1477,17 +1639,21 @@ 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_; @@ -1495,8 +1661,13 @@ 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
@@ -1504,13 +1675,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * row data in this backup will be no older than 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1518,7 +1693,9 @@ public boolean hasStartTime() {
      * row data in this backup will be no older than 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() { @@ -1529,6 +1706,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1536,7 +1715,8 @@ public com.google.protobuf.Timestamp getStartTime() {
      * row data in this backup will be no older than 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) { @@ -1552,6 +1732,8 @@ 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
@@ -1559,10 +1741,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      * row data in this backup will be no older than 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(); onChanged(); @@ -1573,6 +1755,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1580,13 +1764,14 @@ public Builder setStartTime(
      * row data in this backup will be no older than 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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1598,6 +1783,8 @@ 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
@@ -1605,7 +1792,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
      * row data in this backup will be no older than 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() { if (startTimeBuilder_ == null) { @@ -1619,6 +1807,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1626,14 +1816,17 @@ public Builder clearStartTime() {
      * row data in this backup will be no older than 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() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1641,17 +1834,19 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
      * row data in this backup will be no older than 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
@@ -1659,17 +1854,21 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * row data in this backup will be no older than 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_; @@ -1677,26 +1876,37 @@ 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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1707,12 +1917,15 @@ 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) { @@ -1728,15 +1941,17 @@ 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(); onChanged(); @@ -1747,18 +1962,21 @@ public Builder setEndTime( 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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1770,12 +1988,15 @@ 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() { if (endTimeBuilder_ == null) { @@ -1789,63 +2010,77 @@ 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() { - + onChanged(); 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 @@ -1853,30 +2088,36 @@ 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. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); 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() { - + sizeBytes_ = 0L; onChanged(); return this; @@ -1884,51 +2125,73 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.valueOf(state_); + com.google.bigtable.admin.v2.Backup.State result = + com.google.bigtable.admin.v2.Backup.State.valueOf(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. */ @@ -1936,21 +2199,26 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -1958,39 +2226,58 @@ 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 encryptionInfoBuilder_ != null || 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. */ 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) { @@ -2006,11 +2293,15 @@ 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) { @@ -2024,17 +2315,23 @@ 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 (encryptionInfo_ != null) { encryptionInfo_ = - com.google.bigtable.admin.v2.EncryptionInfo.newBuilder(encryptionInfo_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.EncryptionInfo.newBuilder(encryptionInfo_) + .mergeFrom(value) + .buildPartial(); } else { encryptionInfo_ = value; } @@ -2046,11 +2343,15 @@ 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() { if (encryptionInfoBuilder_ == null) { @@ -2064,55 +2365,71 @@ 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() { - + onChanged(); 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); } @@ -2122,12 +2439,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(); } @@ -2136,27 +2453,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; @@ -2171,6 +2488,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Backup 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/BackupInfo.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java index 2661ee6e38..e06a057291 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,37 +44,41 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BackupInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,29 +87,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 { @@ -98,12 +120,16 @@ public java.lang.String getBackup() { 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 @@ -111,12 +137,16 @@ 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 @@ -124,12 +154,15 @@ 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() { @@ -139,12 +172,16 @@ 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 @@ -152,12 +189,16 @@ 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 @@ -165,12 +206,15 @@ 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() { @@ -180,11 +224,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SOURCE_TABLE_FIELD_NUMBER = 4; 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 @@ -193,29 +240,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 { @@ -224,6 +271,7 @@ public java.lang.String getSourceTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -262,12 +309,10 @@ 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_); @@ -280,27 +325,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.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 (!getSourceTable().equals(other.getSourceTable())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -329,130 +370,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +523,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 @@ -497,7 +544,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); + com.google.bigtable.admin.v2.BackupInfo result = + new com.google.bigtable.admin.v2.BackupInfo(this); result.backup_ = backup_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -518,38 +566,39 @@ public com.google.bigtable.admin.v2.BackupInfo 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.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; @@ -598,36 +647,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - backup_ = input.readStringRequireUtf8(); + case 10: + { + backup_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - sourceTable_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + sourceTable_ = input.readStringRequireUtf8(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -640,18 +690,20 @@ public Builder mergeFrom( 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; @@ -660,20 +712,21 @@ 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 { @@ -681,54 +734,61 @@ public java.lang.String getBackup() { } } /** + * + * *
      * 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) { + public Builder setBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backup_ = value; 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() { - + backup_ = getDefaultInstance().getBackup(); onChanged(); 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) { + public Builder setBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backup_ = value; onChanged(); return this; @@ -736,26 +796,37 @@ public Builder setBackupBytes( 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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -766,12 +837,15 @@ 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) { @@ -787,15 +861,17 @@ 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(); onChanged(); @@ -806,18 +882,21 @@ public Builder setStartTime( 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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -829,12 +908,15 @@ 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() { if (startTimeBuilder_ == null) { @@ -848,51 +930,62 @@ 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() { - + onChanged(); 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_; @@ -900,26 +993,37 @@ 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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -930,12 +1034,15 @@ 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) { @@ -951,15 +1058,17 @@ 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(); onChanged(); @@ -970,18 +1079,21 @@ public Builder setEndTime( 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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -993,12 +1105,15 @@ 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() { if (endTimeBuilder_ == null) { @@ -1012,51 +1127,62 @@ 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() { - + onChanged(); 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_; @@ -1064,18 +1190,20 @@ 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; @@ -1084,20 +1212,21 @@ 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 { @@ -1105,61 +1234,68 @@ 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]; + * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable( - java.lang.String value) { + public Builder setSourceTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); onChanged(); 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) { + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = 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); } @@ -1169,12 +1305,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(); } @@ -1183,27 +1319,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; @@ -1218,6 +1354,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.BackupInfo 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/BackupInfoOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java index e2cb01c11e..2f255fd08f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java @@ -1,109 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java index c16b70431f..27ea79953f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -21,10 +39,13 @@ public interface BackupOrBuilder extends
    * 
* * 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
@@ -38,36 +59,47 @@ public interface BackupOrBuilder extends
    * 
* * 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(); /** + * + * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 30 days
@@ -76,11 +108,15 @@ public interface BackupOrBuilder extends
    * 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 30 days
@@ -89,11 +125,15 @@ public interface BackupOrBuilder extends
    * 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 30 days
@@ -102,11 +142,14 @@ public interface BackupOrBuilder extends
    * 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
@@ -114,11 +157,15 @@ public interface BackupOrBuilder extends
    * row data in this backup will be no older than 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
@@ -126,11 +173,15 @@ public interface BackupOrBuilder extends
    * row data in this backup will be no older than 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
@@ -138,93 +189,132 @@ public interface BackupOrBuilder extends
    * row data in this backup will be no older than 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/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 new file mode 100644 index 0000000000..95ee4502f1 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -0,0 +1,665 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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\"\333\002\n\025Crea" + + "teInstanceRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A" + + "-\n+cloudresourcemanager.googleapis.com/P" + + "roject\022\030\n\013instance_id\030\002 \001(\tB\003\340A\002\0229\n\010inst" + + "ance\030\003 \001(\0132\".google.bigtable.admin.v2.In" + + "stanceB\003\340A\002\022T\n\010clusters\030\004 \003(\0132=.google.b" + + "igtable.admin.v2.CreateInstanceRequest.C" + + "lustersEntryB\003\340A\002\032R\n\rClustersEntry\022\013\n\003ke" + + "y\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigtable" + + ".admin.v2.Cluster:\0028\001\"Q\n\022GetInstanceRequ" + + "est\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\"o\n\024ListInstance" + + "sRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\022\022\n" + + "\npage_token\030\002 \001(\t\"\201\001\n\025ListInstancesRespo" + + "nse\0225\n\tinstances\030\001 \003(\0132\".google.bigtable" + + ".admin.v2.Instance\022\030\n\020failed_locations\030\002" + + " \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\217\001\n\034Partia" + + "lUpdateInstanceRequest\0229\n\010instance\030\001 \001(\013" + + "2\".google.bigtable.admin.v2.InstanceB\003\340A" + + "\002\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMaskB\003\340A\002\"T\n\025DeleteInstanceRequest" + + "\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin.go" + + "ogleapis.com/Instance\"\247\001\n\024CreateClusterR" + + "equest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\022\027\n\ncluster" + + "_id\030\002 \001(\tB\003\340A\002\0227\n\007cluster\030\003 \001(\0132!.google" + + ".bigtable.admin.v2.ClusterB\003\340A\002\"O\n\021GetCl" + + "usterRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigt" + + "ableadmin.googleapis.com/Cluster\"h\n\023List" + + "ClustersRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\022" + + "\n\npage_token\030\002 \001(\t\"~\n\024ListClustersRespon" + + "se\0223\n\010clusters\030\001 \003(\0132!.google.bigtable.a" + + "dmin.v2.Cluster\022\030\n\020failed_locations\030\002 \003(" + + "\t\022\027\n\017next_page_token\030\003 \001(\t\"R\n\024DeleteClus" + + "terRequest\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$bigtab" + + "leadmin.googleapis.com/Cluster\"\306\001\n\026Creat" + + "eInstanceMetadata\022I\n\020original_request\030\001 " + + "\001(\0132/.google.bigtable.admin.v2.CreateIns" + + "tanceRequest\0220\n\014request_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022/\n\013finish_time\030\003 " + + "\001(\0132\032.google.protobuf.Timestamp\"\315\001\n\026Upda" + + "teInstanceMetadata\022P\n\020original_request\030\001" + + " \001(\01326.google.bigtable.admin.v2.PartialU" + + "pdateInstanceRequest\0220\n\014request_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022/\n\013finish" + + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\"" + + "\373\004\n\025CreateClusterMetadata\022H\n\020original_re" + + "quest\030\001 \001(\0132..google.bigtable.admin.v2.C" + + "reateClusterRequest\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\022K" + + "\n\006tables\030\004 \003(\0132;.google.bigtable.admin.v" + + "2.CreateClusterMetadata.TablesEntry\032\371\001\n\r" + + "TableProgress\022\034\n\024estimated_size_bytes\030\002 " + + "\001(\003\022\036\n\026estimated_copied_bytes\030\003 \001(\003\022R\n\005s" + + "tate\030\004 \001(\0162C.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress.State\"" + + "V\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007PENDI" + + "NG\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMPLETED\020\003\022\r\n\tCANC" + + "ELLED\020\004\032l\n\013TablesEntry\022\013\n\003key\030\001 \001(\t\022L\n\005v" + + "alue\030\002 \001(\0132=.google.bigtable.admin.v2.Cr" + + "eateClusterMetadata.TableProgress:\0028\001\"\267\001" + + "\n\025UpdateClusterMetadata\022;\n\020original_requ" + + "est\030\001 \001(\0132!.google.bigtable.admin.v2.Clu" + + "ster\0220\n\014request_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\"\322\001\n\034PartialUpdat" + + "eClusterMetadata\0220\n\014request_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022/\n\013finish_tim" + + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022O\n\020o" + + "riginal_request\030\003 \001(\01325.google.bigtable." + + "admin.v2.PartialUpdateClusterRequest\"\214\001\n" + + "\033PartialUpdateClusterRequest\0227\n\007cluster\030" + + "\001 \001(\0132!.google.bigtable.admin.v2.Cluster" + + "B\003\340A\002\0224\n\013update_mask\030\002 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\003\340A\002\"\316\001\n\027CreateAppProfile" + + "Request\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\022\033\n\016app_pr" + + "ofile_id\030\002 \001(\tB\003\340A\002\022>\n\013app_profile\030\003 \001(\013" + + "2$.google.bigtable.admin.v2.AppProfileB\003" + + "\340A\002\022\027\n\017ignore_warnings\030\004 \001(\010\"U\n\024GetAppPr" + + "ofileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372A)\n\'bigt" + + "ableadmin.googleapis.com/AppProfile\"~\n\026L" + + "istAppProfilesRequest\022=\n\006parent\030\001 \001(\tB-\340" + + "A\002\372A\'\n%bigtableadmin.googleapis.com/Inst" + + "ance\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\002 " + + "\001(\t\"\210\001\n\027ListAppProfilesResponse\022:\n\014app_p" + + "rofiles\030\001 \003(\0132$.google.bigtable.admin.v2" + + ".AppProfile\022\027\n\017next_page_token\030\002 \001(\t\022\030\n\020" + + "failed_locations\030\003 \003(\t\"\250\001\n\027UpdateAppProf" + + "ileRequest\022>\n\013app_profile\030\001 \001(\0132$.google" + + ".bigtable.admin.v2.AppProfileB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\022\027\n\017ignore_warnings\030\003 \001(\010\"v\n\027Del" + + "eteAppProfileRequest\022=\n\004name\030\001 \001(\tB/\340A\002\372" + + "A)\n\'bigtableadmin.googleapis.com/AppProf" + + "ile\022\034\n\017ignore_warnings\030\002 \001(\010B\003\340A\002\"\032\n\030Upd" + + "ateAppProfileMetadata\"\332\001\n\025ListHotTablets" + + "Request\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtabl" + + "eadmin.googleapis.com/Cluster\022.\n\nstart_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n" + + "\010end_time\030\003 \001(\0132\032.google.protobuf.Timest" + + "amp\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\005 \001" + + "(\t\"k\n\026ListHotTabletsResponse\0228\n\013hot_tabl" + + "ets\030\001 \003(\0132#.google.bigtable.admin.v2.Hot" + + "Tablet\022\027\n\017next_page_token\030\002 \001(\t2\313!\n\025Bigt" + + "ableInstanceAdmin\022\332\001\n\016CreateInstance\022/.g" + + "oogle.bigtable.admin.v2.CreateInstanceRe" + + "quest\032\035.google.longrunning.Operation\"x\202\323" + + "\344\223\002&\"!/v2/{parent=projects/*}/instances:" + + "\001*\332A$parent,instance_id,instance,cluster" + + "s\312A\"\n\010Instance\022\026CreateInstanceMetadata\022\221" + + "\001\n\013GetInstance\022,.google.bigtable.admin.v" + + "2.GetInstanceRequest\032\".google.bigtable.a" + + "dmin.v2.Instance\"0\202\323\344\223\002#\022!/v2/{name=proj" + + "ects/*/instances/*}\332A\004name\022\244\001\n\rListInsta" + + "nces\022..google.bigtable.admin.v2.ListInst" + + "ancesRequest\032/.google.bigtable.admin.v2." + + "ListInstancesResponse\"2\202\323\344\223\002#\022!/v2/{pare" + + "nt=projects/*}/instances\332A\006parent\022\206\001\n\016Up" + + "dateInstance\022\".google.bigtable.admin.v2." + + "Instance\032\".google.bigtable.admin.v2.Inst" + + "ance\",\202\323\344\223\002&\032!/v2/{name=projects/*/insta" + + "nces/*}:\001*\022\350\001\n\025PartialUpdateInstance\0226.g" + + "oogle.bigtable.admin.v2.PartialUpdateIns" + + "tanceRequest\032\035.google.longrunning.Operat" + + "ion\"x\202\323\344\223\00262*/v2/{instance.name=projects" + + "/*/instances/*}:\010instance\332A\024instance,upd" + + "ate_mask\312A\"\n\010Instance\022\026UpdateInstanceMet" + + "adata\022\213\001\n\016DeleteInstance\022/.google.bigtab" + + "le.admin.v2.DeleteInstanceRequest\032\026.goog" + + "le.protobuf.Empty\"0\202\323\344\223\002#*!/v2/{name=pro" + + "jects/*/instances/*}\332A\004name\022\334\001\n\rCreateCl" + + "uster\022..google.bigtable.admin.v2.CreateC" + + "lusterRequest\032\035.google.longrunning.Opera" + + "tion\"|\202\323\344\223\0027\",/v2/{parent=projects/*/ins" + + "tances/*}/clusters:\007cluster\332A\031parent,clu" + + "ster_id,cluster\312A \n\007Cluster\022\025CreateClust" + + "erMetadata\022\231\001\n\nGetCluster\022+.google.bigta" + + "ble.admin.v2.GetClusterRequest\032!.google." + + "bigtable.admin.v2.Cluster\";\202\323\344\223\002.\022,/v2/{" + + "name=projects/*/instances/*/clusters/*}\332" + + "A\004name\022\254\001\n\014ListClusters\022-.google.bigtabl" + + "e.admin.v2.ListClustersRequest\032..google." + + "bigtable.admin.v2.ListClustersResponse\"=" + + "\202\323\344\223\002.\022,/v2/{parent=projects/*/instances" + + "/*}/clusters\332A\006parent\022\255\001\n\rUpdateCluster\022" + + "!.google.bigtable.admin.v2.Cluster\032\035.goo" + + "gle.longrunning.Operation\"Z\202\323\344\223\0021\032,/v2/{" + + "name=projects/*/instances/*/clusters/*}:" + + "\001*\312A \n\007Cluster\022\025UpdateClusterMetadata\022\364\001" + + "\n\024PartialUpdateCluster\0225.google.bigtable" + + ".admin.v2.PartialUpdateClusterRequest\032\035." + + "google.longrunning.Operation\"\205\001\202\323\344\223\002?24/" + + "v2/{cluster.name=projects/*/instances/*/" + + "clusters/*}:\007cluster\332A\023cluster,update_ma" + + "sk\312A\'\n\007Cluster\022\034PartialUpdateClusterMeta" + + "data\022\224\001\n\rDeleteCluster\022..google.bigtable" + + ".admin.v2.DeleteClusterRequest\032\026.google." + + "protobuf.Empty\";\202\323\344\223\002.*,/v2/{name=projec" + + "ts/*/instances/*/clusters/*}\332A\004name\022\325\001\n\020" + + "CreateAppProfile\0221.google.bigtable.admin" + + ".v2.CreateAppProfileRequest\032$.google.big" + + "table.admin.v2.AppProfile\"h\202\323\344\223\002>\"//v2/{" + + "parent=projects/*/instances/*}/appProfil" + + "es:\013app_profile\332A!parent,app_profile_id," + + "app_profile\022\245\001\n\rGetAppProfile\022..google.b" + + "igtable.admin.v2.GetAppProfileRequest\032$." + + "google.bigtable.admin.v2.AppProfile\">\202\323\344" + + "\223\0021\022//v2/{name=projects/*/instances/*/ap" + + "pProfiles/*}\332A\004name\022\270\001\n\017ListAppProfiles\022" + + "0.google.bigtable.admin.v2.ListAppProfil" + + "esRequest\0321.google.bigtable.admin.v2.Lis" + + "tAppProfilesResponse\"@\202\323\344\223\0021\022//v2/{paren" + + "t=projects/*/instances/*}/appProfiles\332A\006" + + "parent\022\372\001\n\020UpdateAppProfile\0221.google.big" + + "table.admin.v2.UpdateAppProfileRequest\032\035" + + ".google.longrunning.Operation\"\223\001\202\323\344\223\002J2;" + + "/v2/{app_profile.name=projects/*/instanc" + + "es/*/appProfiles/*}:\013app_profile\332A\027app_p" + + "rofile,update_mask\312A&\n\nAppProfile\022\030Updat" + + "eAppProfileMetadata\022\235\001\n\020DeleteAppProfile" + + "\0221.google.bigtable.admin.v2.DeleteAppPro" + + "fileRequest\032\026.google.protobuf.Empty\">\202\323\344" + + "\223\0021*//v2/{name=projects/*/instances/*/ap" + + "pProfiles/*}\332A\004name\022\223\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"H\202\323\344\223\0027\"2/v2/{resource=p" + + "rojects/*/instances/*}:getIamPolicy:\001*\332A" + + "\010resource\022\232\001\n\014SetIamPolicy\022\".google.iam." + + "v1.SetIamPolicyRequest\032\025.google.iam.v1.P" + + "olicy\"O\202\323\344\223\0027\"2/v2/{resource=projects/*/" + + "instances/*}:setIamPolicy:\001*\332A\017resource," + + "policy\022\305\001\n\022TestIamPermissions\022(.google.i" + + "am.v1.TestIamPermissionsRequest\032).google" + + ".iam.v1.TestIamPermissionsResponse\"Z\202\323\344\223" + + "\002=\"8/v2/{resource=projects/*/instances/*" + + "}:testIamPermissions:\001*\332A\024resource,permi" + + "ssions\022\277\001\n\016ListHotTablets\022/.google.bigta" + + "ble.admin.v2.ListHotTabletsRequest\0320.goo" + + "gle.bigtable.admin.v2.ListHotTabletsResp" + + "onse\"J\202\323\344\223\002;\0229/v2/{parent=projects/*/ins" + + "tances/*/clusters/*}/hotTablets\332A\006parent" + + "\032\232\003\312A\034bigtableadmin.googleapis.com\322A\367\002ht" + + "tps://www.googleapis.com/auth/bigtable.a" + + "dmin,https://www.googleapis.com/auth/big" + + "table.admin.cluster,https://www.googleap" + + "is.com/auth/bigtable.admin.instance,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin,https://www.googleapis.com/auth" + + "/cloud-bigtable.admin.cluster,https://ww" + + "w.googleapis.com/auth/cloud-platform,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm.read-onlyB\342\001\n\034com.google.bigtable.ad" + + "min.v2B\032BigtableInstanceAdminProtoP\001Z=go" + + "ogle.golang.org/genproto/googleapis/bigt" + + "able/admin/v2;admin\252\002\036Google.Cloud.Bigta" + + "ble.Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Adm" + + "in\\V2\352\002\"Google::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 new file mode 100644 index 0000000000..7fe2354129 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -0,0 +1,780 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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; + + 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\"\261\001\n\023RestoreTableRequest" + + "\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Instance\022\025\n\010table_id\030\002 \001(" + + "\tB\003\340A\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtableadm" + + "in.googleapis.com/BackupH\000B\010\n\006source\"\230\002\n" + + "\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n\013s" + + "ource_type\030\002 \001(\0162+.google.bigtable.admin" + + ".v2.RestoreSourceType\022;\n\013backup_info\030\003 \001" + + "(\0132$.google.bigtable.admin.v2.BackupInfo" + + "H\000\022%\n\035optimize_table_operation_name\030\004 \001(" + + "\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable.ad" + + "min.v2.OperationProgressB\r\n\013source_info\"" + + "l\n\035OptimizeRestoredTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigtab" + + "le.admin.v2.OperationProgress\"\201\002\n\022Create" + + "TableRequest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bi" + + "gtableadmin.googleapis.com/Instance\022\025\n\010t" + + "able_id\030\002 \001(\tB\003\340A\002\0223\n\005table\030\003 \001(\0132\037.goog" + + "le.bigtable.admin.v2.TableB\003\340A\002\022J\n\016initi" + + "al_splits\030\004 \003(\01322.google.bigtable.admin." + + "v2.CreateTableRequest.Split\032\024\n\005Split\022\013\n\003" + + "key\030\001 \001(\014\"\276\001\n\036CreateTableFromSnapshotReq" + + "uest\022=\n\006parent\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Instance\022\025\n\010table_id\030" + + "\002 \001(\tB\003\340A\002\022F\n\017source_snapshot\030\003 \001(\tB-\340A\002" + + "\372A\'\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\"\231\001\n\023DropRowRangeRequest\0228\n\004name\030\001 \001(\t" + + "B*\340A\002\372A$\n\"bigtableadmin.googleapis.com/T" + + "able\022\030\n\016row_key_prefix\030\002 \001(\014H\000\022$\n\032delete" + + "_all_data_from_table\030\003 \001(\010H\000B\010\n\006target\"\255" + + "\001\n\021ListTablesRequest\022=\n\006parent\030\001 \001(\tB-\340A" + + "\002\372A\'\n%bigtableadmin.googleapis.com/Insta" + + "nce\0222\n\004view\030\002 \001(\0162$.google.bigtable.admi" + + "n.v2.Table.View\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"^\n\022ListTablesResponse\022/\n\006" + + "tables\030\001 \003(\0132\037.google.bigtable.admin.v2." + + "Table\022\027\n\017next_page_token\030\002 \001(\t\"\177\n\017GetTab" + + "leRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtabl" + + "eadmin.googleapis.com/Table\0222\n\004view\030\002 \001(" + + "\0162$.google.bigtable.admin.v2.Table.View\"" + + "\177\n\022UpdateTableRequest\0223\n\005table\030\001 \001(\0132\037.g" + + "oogle.bigtable.admin.v2.TableB\003\340A\002\0224\n\013up" + + "date_mask\030\002 \001(\0132\032.google.protobuf.FieldM" + + "askB\003\340A\002\"\201\001\n\023UpdateTableMetadata\022\014\n\004name" + + "\030\001 \001(\t\022.\n\nstart_time\030\002 \001(\0132\032.google.prot" + + "obuf.Timestamp\022,\n\010end_time\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\"N\n\022DeleteTableReque" + + "st\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin." + + "googleapis.com/Table\"P\n\024UndeleteTableReq" + + "uest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\"\203\001\n\025UndeleteTable" + + "Metadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001" + + "(\0132\032.google.protobuf.Timestamp\022,\n\010end_ti" + + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\"\337\002\n" + + "\033ModifyColumnFamiliesRequest\0228\n\004name\030\001 \001" + + "(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.com" + + "/Table\022^\n\rmodifications\030\002 \003(\0132B.google.b" + + "igtable.admin.v2.ModifyColumnFamiliesReq" + + "uest.ModificationB\003\340A\002\032\245\001\n\014Modification\022" + + "\n\n\002id\030\001 \001(\t\0228\n\006create\030\002 \001(\0132&.google.big" + + "table.admin.v2.ColumnFamilyH\000\0228\n\006update\030" + + "\003 \001(\0132&.google.bigtable.admin.v2.ColumnF" + + "amilyH\000\022\016\n\004drop\030\004 \001(\010H\000B\005\n\003mod\"[\n\037Genera" + + "teConsistencyTokenRequest\0228\n\004name\030\001 \001(\tB" + + "*\340A\002\372A$\n\"bigtableadmin.googleapis.com/Ta" + + "ble\"=\n GenerateConsistencyTokenResponse\022" + + "\031\n\021consistency_token\030\001 \001(\t\"s\n\027CheckConsi" + + "stencyRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\036\n\021consi" + + "stency_token\030\002 \001(\tB\003\340A\002\".\n\030CheckConsiste" + + "ncyResponse\022\022\n\nconsistent\030\001 \001(\010\"\346\001\n\024Snap" + + "shotTableRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022=\n\007cl" + + "uster\030\002 \001(\tB,\340A\002\372A&\n$bigtableadmin.googl" + + "eapis.com/Cluster\022\030\n\013snapshot_id\030\003 \001(\tB\003" + + "\340A\002\022&\n\003ttl\030\004 \001(\0132\031.google.protobuf.Durat" + + "ion\022\023\n\013description\030\005 \001(\t\"Q\n\022GetSnapshotR" + + "equest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtablead" + + "min.googleapis.com/Snapshot\"{\n\024ListSnaps" + + "hotsRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$big" + + "tableadmin.googleapis.com/Cluster\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"g\n\025List" + + "SnapshotsResponse\0225\n\tsnapshots\030\001 \003(\0132\".g" + + "oogle.bigtable.admin.v2.Snapshot\022\027\n\017next" + + "_page_token\030\002 \001(\t\"T\n\025DeleteSnapshotReque" + + "st\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigtableadmin." + + "googleapis.com/Snapshot\"\304\001\n\025SnapshotTabl" + + "eMetadata\022H\n\020original_request\030\001 \001(\0132..go" + + "ogle.bigtable.admin.v2.SnapshotTableRequ" + + "est\0220\n\014request_time\030\002 \001(\0132\032.google.proto" + + "buf.Timestamp\022/\n\013finish_time\030\003 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\"\330\001\n\037CreateTableFr" + + "omSnapshotMetadata\022R\n\020original_request\030\001" + + " \001(\01328.google.bigtable.admin.v2.CreateTa" + + "bleFromSnapshotRequest\0220\n\014request_time\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013fini" + + "sh_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\"\242\001\n\023CreateBackupRequest\022<\n\006parent\030\001 \001(" + + "\tB,\340A\002\372A&\n$bigtableadmin.googleapis.com/" + + "Cluster\022\026\n\tbackup_id\030\002 \001(\tB\003\340A\002\0225\n\006backu" + + "p\030\003 \001(\0132 .google.bigtable.admin.v2.Backu" + + "pB\003\340A\002\"\230\001\n\024CreateBackupMetadata\022\014\n\004name\030" + + "\001 \001(\t\022\024\n\014source_table\030\002 \001(\t\022.\n\nstart_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + + "nd_time\030\004 \001(\0132\032.google.protobuf.Timestam" + + "p\"\202\001\n\023UpdateBackupRequest\0225\n\006backup\030\001 \001(" + + "\0132 .google.bigtable.admin.v2.BackupB\003\340A\002" + + "\0224\n\013update_mask\030\002 \001(\0132\032.google.protobuf." + + "FieldMaskB\003\340A\002\"M\n\020GetBackupRequest\0229\n\004na" + + "me\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.googleap" + + "is.com/Backup\"P\n\023DeleteBackupRequest\0229\n\004" + + "name\030\001 \001(\tB+\340A\002\372A%\n#bigtableadmin.google" + + "apis.com/Backup\"\233\001\n\022ListBackupsRequest\022<" + + "\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010" + + "order_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npag" + + "e_token\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007" + + "backups\030\001 \003(\0132 .google.bigtable.admin.v2" + + ".Backup\022\027\n\017next_page_token\030\002 \001(\t2\262(\n\022Big" + + "tableTableAdmin\022\253\001\n\013CreateTable\022,.google" + + ".bigtable.admin.v2.CreateTableRequest\032\037." + + "google.bigtable.admin.v2.Table\"M\202\323\344\223\002/\"*" + + "/v2/{parent=projects/*/instances/*}/tabl" + + "es:\001*\332A\025parent,table_id,table\022\212\002\n\027Create" + + "TableFromSnapshot\0228.google.bigtable.admi" + + "n.v2.CreateTableFromSnapshotRequest\032\035.go" + + "ogle.longrunning.Operation\"\225\001\202\323\344\223\002B\"=/v2" + + "/{parent=projects/*/instances/*}/tables:" + + "createFromSnapshot:\001*\332A\037parent,table_id," + + "source_snapshot\312A(\n\005Table\022\037CreateTableFr" + + "omSnapshotMetadata\022\244\001\n\nListTables\022+.goog" + + "le.bigtable.admin.v2.ListTablesRequest\032," + + ".google.bigtable.admin.v2.ListTablesResp" + + "onse\";\202\323\344\223\002,\022*/v2/{parent=projects/*/ins" + + "tances/*}/tables\332A\006parent\022\221\001\n\010GetTable\022)" + + ".google.bigtable.admin.v2.GetTableReques" + + "t\032\037.google.bigtable.admin.v2.Table\"9\202\323\344\223" + + "\002,\022*/v2/{name=projects/*/instances/*/tab" + + "les/*}\332A\004name\022\316\001\n\013UpdateTable\022,.google.b" + + "igtable.admin.v2.UpdateTableRequest\032\035.go" + + "ogle.longrunning.Operation\"r\202\323\344\223\002920/v2/" + + "{table.name=projects/*/instances/*/table" + + "s/*}:\005table\332A\021table,update_mask\312A\034\n\005Tabl" + + "e\022\023UpdateTableMetadata\022\216\001\n\013DeleteTable\022," + + ".google.bigtable.admin.v2.DeleteTableReq" + + "uest\032\026.google.protobuf.Empty\"9\202\323\344\223\002,**/v" + + "2/{name=projects/*/instances/*/tables/*}" + + "\332A\004name\022\306\001\n\rUndeleteTable\022..google.bigta" + + "ble.admin.v2.UndeleteTableRequest\032\035.goog" + + "le.longrunning.Operation\"f\202\323\344\223\0028\"3/v2/{n" + + "ame=projects/*/instances/*/tables/*}:und" + + "elete:\001*\332A\004name\312A\036\n\005Table\022\025UndeleteTable" + + "Metadata\022\317\001\n\024ModifyColumnFamilies\0225.goog" + + "le.bigtable.admin.v2.ModifyColumnFamilie" + + "sRequest\032\037.google.bigtable.admin.v2.Tabl" + + "e\"_\202\323\344\223\002D\"?/v2/{name=projects/*/instance" + + "s/*/tables/*}:modifyColumnFamilies:\001*\332A\022" + + "name,modifications\022\231\001\n\014DropRowRange\022-.go" + + "ogle.bigtable.admin.v2.DropRowRangeReque" + + "st\032\026.google.protobuf.Empty\"B\202\323\344\223\002<\"7/v2/" + + "{name=projects/*/instances/*/tables/*}:d" + + "ropRowRange:\001*\022\350\001\n\030GenerateConsistencyTo" + + "ken\0229.google.bigtable.admin.v2.GenerateC" + + "onsistencyTokenRequest\032:.google.bigtable" + + ".admin.v2.GenerateConsistencyTokenRespon" + + "se\"U\202\323\344\223\002H\"C/v2/{name=projects/*/instanc" + + "es/*/tables/*}:generateConsistencyToken:" + + "\001*\332A\004name\022\332\001\n\020CheckConsistency\0221.google." + + "bigtable.admin.v2.CheckConsistencyReques" + + "t\0322.google.bigtable.admin.v2.CheckConsis" + + "tencyResponse\"_\202\323\344\223\002@\";/v2/{name=project" + + "s/*/instances/*/tables/*}:checkConsisten" + + "cy:\001*\332A\026name,consistency_token\022\352\001\n\rSnaps" + + "hotTable\022..google.bigtable.admin.v2.Snap" + + "shotTableRequest\032\035.google.longrunning.Op" + + "eration\"\211\001\202\323\344\223\0028\"3/v2/{name=projects/*/i" + + "nstances/*/tables/*}:snapshot:\001*\332A$name," + + "cluster,snapshot_id,description\312A!\n\010Snap" + + "shot\022\025SnapshotTableMetadata\022\250\001\n\013GetSnaps" + + "hot\022,.google.bigtable.admin.v2.GetSnapsh" + + "otRequest\032\".google.bigtable.admin.v2.Sna" + + "pshot\"G\202\323\344\223\002:\0228/v2/{name=projects/*/inst" + + "ances/*/clusters/*/snapshots/*}\332A\004name\022\273" + + "\001\n\rListSnapshots\022..google.bigtable.admin" + + ".v2.ListSnapshotsRequest\032/.google.bigtab" + + "le.admin.v2.ListSnapshotsResponse\"I\202\323\344\223\002" + + ":\0228/v2/{parent=projects/*/instances/*/cl" + + "usters/*}/snapshots\332A\006parent\022\242\001\n\016DeleteS" + + "napshot\022/.google.bigtable.admin.v2.Delet" + + "eSnapshotRequest\032\026.google.protobuf.Empty" + + "\"G\202\323\344\223\002:*8/v2/{name=projects/*/instances" + + "/*/clusters/*/snapshots/*}\332A\004name\022\340\001\n\014Cr" + + "eateBackup\022-.google.bigtable.admin.v2.Cr" + + "eateBackupRequest\032\035.google.longrunning.O" + + "peration\"\201\001\202\323\344\223\002@\"6/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups:\006backu" + + "p\332A\027parent,backup_id,backup\312A\036\n\006Backup\022\024" + + "CreateBackupMetadata\022\240\001\n\tGetBackup\022*.goo" + + "gle.bigtable.admin.v2.GetBackupRequest\032 " + + ".google.bigtable.admin.v2.Backup\"E\202\323\344\223\0028" + + "\0226/v2/{name=projects/*/instances/*/clust" + + "ers/*/backups/*}\332A\004name\022\303\001\n\014UpdateBackup" + + "\022-.google.bigtable.admin.v2.UpdateBackup" + + "Request\032 .google.bigtable.admin.v2.Backu" + + "p\"b\202\323\344\223\002G2=/v2/{backup.name=projects/*/i" + + "nstances/*/clusters/*/backups/*}:\006backup" + + "\332A\022backup,update_mask\022\234\001\n\014DeleteBackup\022-" + + ".google.bigtable.admin.v2.DeleteBackupRe" + + "quest\032\026.google.protobuf.Empty\"E\202\323\344\223\0028*6/" + + "v2/{name=projects/*/instances/*/clusters" + + "/*/backups/*}\332A\004name\022\263\001\n\013ListBackups\022,.g" + + "oogle.bigtable.admin.v2.ListBackupsReque" + + "st\032-.google.bigtable.admin.v2.ListBackup" + + "sResponse\"G\202\323\344\223\0028\0226/v2/{parent=projects/" + + "*/instances/*/clusters/*}/backups\332A\006pare" + + "nt\022\273\001\n\014RestoreTable\022-.google.bigtable.ad" + + "min.v2.RestoreTableRequest\032\035.google.long" + + "running.Operation\"]\202\323\344\223\0027\"2/v2/{parent=p" + + "rojects/*/instances/*}/tables:restore:\001*" + + "\312A\035\n\005Table\022\024RestoreTableMetadata\022\354\001\n\014Get" + + "IamPolicy\022\".google.iam.v1.GetIamPolicyRe" + + "quest\032\025.google.iam.v1.Policy\"\240\001\202\323\344\223\002\216\001\";" + + "/v2/{resource=projects/*/instances/*/tab" + + "les/*}:getIamPolicy:\001*ZL\"G/v2/{resource=" + + "projects/*/instances/*/clusters/*/backup" + + "s/*}:getIamPolicy:\001*\332A\010resource\022\363\001\n\014SetI" + + "amPolicy\022\".google.iam.v1.SetIamPolicyReq" + + "uest\032\025.google.iam.v1.Policy\"\247\001\202\323\344\223\002\216\001\";/" + + "v2/{resource=projects/*/instances/*/tabl" + + "es/*}:setIamPolicy:\001*ZL\"G/v2/{resource=p" + + "rojects/*/instances/*/clusters/*/backups" + + "/*}:setIamPolicy:\001*\332A\017resource,policy\022\244\002" + + "\n\022TestIamPermissions\022(.google.iam.v1.Tes" + + "tIamPermissionsRequest\032).google.iam.v1.T" + + "estIamPermissionsResponse\"\270\001\202\323\344\223\002\232\001\"A/v2" + + "/{resource=projects/*/instances/*/tables" + + "/*}:testIamPermissions:\001*ZR\"M/v2/{resour" + + "ce=projects/*/instances/*/clusters/*/bac" + + "kups/*}:testIamPermissions:\001*\332A\024resource" + + ",permissions\032\336\002\312A\034bigtableadmin.googleap" + + "is.com\322A\273\002https://www.googleapis.com/aut" + + "h/bigtable.admin,https://www.googleapis." + + "com/auth/bigtable.admin.table,https://ww" + + "w.googleapis.com/auth/cloud-bigtable.adm" + + "in,https://www.googleapis.com/auth/cloud" + + "-bigtable.admin.table,https://www.google" + + "apis.com/auth/cloud-platform,https://www" + + ".googleapis.com/auth/cloud-platform.read" + + "-onlyB\337\001\n\034com.google.bigtable.admin.v2B\027" + + "BigtableTableAdminProtoP\001Z=google.golang" + + ".org/genproto/googleapis/bigtable/admin/" + + "v2;admin\252\002\036Google.Cloud.Bigtable.Admin.V" + + "2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352\002\"Goo" + + "gle::Cloud::Bigtable::Admin::V2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + 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", + }); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java index a8d025b2b2..000ecfa098 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -27,39 +45,45 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -68,31 +92,33 @@ 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 { @@ -103,11 +129,14 @@ public java.lang.String getName() { public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; 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 @@ -116,29 +145,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 { @@ -147,6 +176,7 @@ public java.lang.String getConsistencyToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -189,17 +218,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.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; } @@ -221,96 +249,103 @@ 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]
@@ -318,33 +353,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -356,9 +390,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
@@ -377,7 +411,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);
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result =
+          new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
       result.name_ = name_;
       result.consistencyToken_ = consistencyToken_;
       onBuilt();
@@ -388,38 +423,39 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest 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.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;
@@ -427,7 +463,8 @@ 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_;
         onChanged();
@@ -462,22 +499,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              consistencyToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                consistencyToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -490,20 +530,24 @@ public Builder mergeFrom(
 
     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; @@ -512,22 +556,25 @@ 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 { @@ -535,60 +582,73 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -596,18 +656,20 @@ public Builder setNameBytes( 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; @@ -616,20 +678,21 @@ 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 { @@ -637,61 +700,68 @@ public java.lang.String getConsistencyToken() { } } /** + * + * *
      * 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) { + public Builder setConsistencyToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + consistencyToken_ = value; 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() { - + consistencyToken_ = getDefaultInstance().getConsistencyToken(); onChanged(); 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) { + public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consistencyToken_ = 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); } @@ -701,12 +771,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(); } @@ -715,27 +785,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; @@ -750,6 +820,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyRequest 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/CheckConsistencyRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java index 15962b1e79..b6accf6535 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java index 6ebe974f30..1a074ebc66 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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 @@ -65,6 +86,7 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,8 +98,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -91,8 +112,7 @@ 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; @@ -102,15 +122,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; } @@ -123,104 +143,111 @@ 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]
@@ -228,33 +255,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -264,9 +290,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
@@ -285,7 +311,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);
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result =
+          new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
       result.consistent_ = consistent_;
       onBuilt();
       return result;
@@ -295,38 +322,39 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse 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.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;
@@ -334,7 +362,8 @@ 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());
       }
@@ -364,17 +393,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              consistent_ = input.readBool();
-
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                consistent_ = input.readBool();
+
+                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) {
@@ -385,14 +416,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -400,39 +434,45 @@ 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. */ public Builder setConsistent(boolean value) { - + consistent_ = value; onChanged(); 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() { - + consistent_ = false; 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); } @@ -442,12 +482,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(); } @@ -456,27 +496,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; @@ -491,6 +531,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..a7caf4943a --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index 5bcf5b5180..f4f95f51a8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -12,15 +29,16 @@
  *
  * 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_ = "";
@@ -30,39 +48,43 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -71,6 +93,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -79,6 +103,8 @@ public enum State */ READY(1), /** + * + * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -89,6 +115,8 @@ public enum State
      */
     CREATING(2),
     /**
+     *
+     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -101,6 +129,8 @@ public enum State
      */
     RESIZING(3),
     /**
+     *
+     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -113,6 +143,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -121,6 +153,8 @@ public enum State */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** + * + * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -129,6 +163,8 @@ public enum State */ public static final int READY_VALUE = 1; /** + * + * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -139,6 +175,8 @@ public enum State
      */
     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.
@@ -151,6 +189,8 @@ public enum State
      */
     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.
@@ -160,7 +200,6 @@ public enum State
      */
     public static final int DISABLED_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -185,51 +224,53 @@ 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() {
+        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;
     }
-    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() {
+    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() {
       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;
@@ -246,116 +287,153 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -363,23 +441,34 @@ 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() { @@ -389,11 +478,16 @@ public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLim 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 @@ -401,30 +495,43 @@ 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() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder + getAutoscalingTargetsOrBuilder() { return getAutoscalingTargets(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,8 +543,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -454,12 +560,11 @@ 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; @@ -469,22 +574,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.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; @@ -511,87 +615,94 @@ 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 @@ -601,39 +712,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -653,13 +766,14 @@ 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(); } @@ -674,7 +788,8 @@ 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); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = + new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); if (autoscalingLimitsBuilder_ == null) { result.autoscalingLimits_ = autoscalingLimits_; } else { @@ -693,46 +808,52 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -765,26 +886,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -797,39 +919,58 @@ public Builder mergeFrom( 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 autoscalingLimitsBuilder_ != null || 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. */ 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) { @@ -845,11 +986,15 @@ 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) { @@ -863,17 +1008,23 @@ 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 (autoscalingLimits_ != null) { autoscalingLimits_ = - com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder(autoscalingLimits_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder(autoscalingLimits_) + .mergeFrom(value) + .buildPartial(); } else { autoscalingLimits_ = value; } @@ -885,11 +1036,15 @@ 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() { if (autoscalingLimitsBuilder_ == null) { @@ -903,48 +1058,65 @@ 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() { - + onChanged(); 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_; @@ -952,39 +1124,58 @@ public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLim 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 autoscalingTargetsBuilder_ != null || 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. */ 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) { @@ -1000,11 +1191,15 @@ 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) { @@ -1018,17 +1213,24 @@ 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 (autoscalingTargets_ != null) { autoscalingTargets_ = - com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder(autoscalingTargets_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder(autoscalingTargets_) + .mergeFrom(value) + .buildPartial(); } else { autoscalingTargets_ = value; } @@ -1040,11 +1242,15 @@ public Builder mergeAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingT 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() { if (autoscalingTargetsBuilder_ == null) { @@ -1058,52 +1264,71 @@ 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() { + 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) { @@ -1116,41 +1341,44 @@ 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; @@ -1162,95 +1390,119 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -1258,30 +1510,44 @@ 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() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder + getClusterAutoscalingConfigOrBuilder() { return getClusterAutoscalingConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1293,8 +1559,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1308,8 +1573,9 @@ 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; @@ -1319,17 +1585,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -1352,87 +1619,93 @@ 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 @@ -1442,39 +1715,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1488,9 +1763,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 @@ -1509,7 +1784,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); + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = + new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); if (clusterAutoscalingConfigBuilder_ == null) { result.clusterAutoscalingConfig_ = clusterAutoscalingConfig_; } else { @@ -1523,38 +1799,41 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig 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.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; @@ -1562,7 +1841,8 @@ 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()); } @@ -1592,19 +1872,20 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + 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) { @@ -1615,43 +1896,65 @@ public Builder mergeFrom( return this; } - 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 clusterAutoscalingConfigBuilder_ != null || 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. */ - 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(); @@ -1665,11 +1968,15 @@ public Builder setClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster. 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) { @@ -1683,17 +1990,25 @@ 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 (clusterAutoscalingConfig_ != null) { clusterAutoscalingConfig_ = - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder(clusterAutoscalingConfig_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder( + clusterAutoscalingConfig_) + .mergeFrom(value) + .buildPartial(); } else { clusterAutoscalingConfig_ = value; } @@ -1705,11 +2020,15 @@ public Builder mergeClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluste 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() { if (clusterAutoscalingConfigBuilder_ == null) { @@ -1723,52 +2042,71 @@ 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() { + 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) { @@ -1781,12 +2119,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(); } @@ -1795,27 +2133,28 @@ 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; @@ -1830,14 +2169,16 @@ 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:
@@ -1852,10 +2193,13 @@ public interface EncryptionConfigOrBuilder extends
      * 
* * 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:
@@ -1870,12 +2214,14 @@ public interface EncryptionConfigOrBuilder extends
      * 
* * 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.
@@ -1883,47 +2229,51 @@ public interface EncryptionConfigOrBuilder extends
    *
    * 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     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:
@@ -1938,6 +2288,7 @@ protected java.lang.Object newInstance(
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } + * * @return The kmsKeyName. */ @java.lang.Override @@ -1946,14 +2297,15 @@ 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:
@@ -1968,16 +2320,15 @@ 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 { @@ -1986,6 +2337,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1997,8 +2349,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2022,15 +2373,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; } @@ -2050,87 +2401,94 @@ 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 @@ -2140,6 +2498,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2147,33 +2507,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2183,9 +2543,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
@@ -2204,7 +2564,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);
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result =
+            new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
         result.kmsKeyName_ = kmsKeyName_;
         onBuilt();
         return result;
@@ -2214,38 +2575,41 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig 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.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;
@@ -2253,7 +2617,8 @@ 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_;
           onChanged();
@@ -2284,17 +2649,19 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                kmsKeyName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  kmsKeyName_ = input.readStringRequireUtf8();
+
+                  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) {
@@ -2307,6 +2674,8 @@ public Builder mergeFrom(
 
       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:
@@ -2321,13 +2690,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; @@ -2336,6 +2705,8 @@ 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:
@@ -2350,15 +2721,14 @@ 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 { @@ -2366,6 +2736,8 @@ 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:
@@ -2380,20 +2752,22 @@ public java.lang.String getKmsKeyName() {
        * 
* * 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) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; 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:
@@ -2408,15 +2782,18 @@ public Builder setKmsKeyName(
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); 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:
@@ -2431,20 +2808,21 @@ 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) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2457,12 +2835,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(); } @@ -2471,27 +2849,28 @@ 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; @@ -2506,17 +2885,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int configCase_ = 0; 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; } @@ -2532,31 +2913,36 @@ 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; 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 @@ -2565,30 +2951,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 { @@ -2599,6 +2985,8 @@ public java.lang.String getName() { public static final int LOCATION_FIELD_NUMBER = 2; 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
@@ -2606,7 +2994,10 @@ public java.lang.String getName() {
    * 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 @@ -2615,14 +3006,15 @@ 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
@@ -2630,17 +3022,18 @@ 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 { @@ -2651,39 +3044,55 @@ public java.lang.String getLocation() { public static final int STATE_FIELD_NUMBER = 3; private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Cluster.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.valueOf(state_); + com.google.bigtable.admin.v2.Cluster.State result = + com.google.bigtable.admin.v2.Cluster.State.valueOf(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_; /** + * + * *
    * 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 @@ -2693,11 +3102,14 @@ 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 @@ -2705,21 +3117,26 @@ 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.
    * 
@@ -2729,7 +3146,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(); } @@ -2737,40 +3154,58 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.valueOf(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = + com.google.bigtable.admin.v2.StorageType.valueOf(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 @@ -2778,30 +3213,43 @@ 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() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder + getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2813,8 +3261,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2827,7 +3274,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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) { @@ -2852,24 +3300,22 @@ 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; @@ -2879,31 +3325,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.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: @@ -2946,97 +3387,103 @@ 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
@@ -3045,33 +3492,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3100,9 +3546,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
@@ -3148,38 +3594,39 @@ public com.google.bigtable.admin.v2.Cluster 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.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;
@@ -3209,13 +3656,15 @@ 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();
@@ -3243,51 +3692,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              location_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                location_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 24: {
-              state_ = input.readEnum();
+                break;
+              } // case 18
+            case 24:
+              {
+                state_ = input.readEnum();
 
-              break;
-            } // case 24
-            case 32: {
-              serveNodes_ = input.readInt32();
+                break;
+              } // case 24
+            case 32:
+              {
+                serveNodes_ = input.readInt32();
 
-              break;
-            } // case 32
-            case 40: {
-              defaultStorageType_ = input.readEnum();
+                break;
+              } // case 32
+            case 40:
+              {
+                defaultStorageType_ = input.readEnum();
 
-              break;
-            } // case 40
-            case 50: {
-              input.readMessage(
-                  getEncryptionConfigFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 40
+            case 50:
+              {
+                input.readMessage(
+                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
 
-              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:
+                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) {
@@ -3297,12 +3751,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() {
@@ -3312,22 +3766,23 @@ public Builder clearConfig() {
       return this;
     }
 
-
     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; @@ -3336,21 +3791,22 @@ 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 { @@ -3358,57 +3814,64 @@ 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; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3416,6 +3879,8 @@ public Builder setNameBytes( 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
@@ -3423,14 +3888,16 @@ public Builder setNameBytes(
      * 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; @@ -3439,6 +3906,8 @@ 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
@@ -3446,16 +3915,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. */ - 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 { @@ -3463,6 +3933,8 @@ 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
@@ -3470,21 +3942,25 @@ 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) = { ... } + * + * * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation( - java.lang.String value) { + public Builder setLocation(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + location_ = value; 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
@@ -3492,16 +3968,21 @@ public Builder setLocation(
      * 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() { - + location_ = getDefaultInstance().getLocation(); 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
@@ -3509,17 +3990,19 @@ 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) { + public Builder setLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + location_ = value; onChanged(); return this; @@ -3527,51 +4010,73 @@ public Builder setLocationBytes( 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.valueOf(state_); + com.google.bigtable.admin.v2.Cluster.State result = + com.google.bigtable.admin.v2.Cluster.State.valueOf(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. */ @@ -3579,34 +4084,42 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); 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 @@ -3614,45 +4127,57 @@ 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. */ public Builder setServeNodes(int value) { - + serveNodes_ = value; onChanged(); 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() { - + serveNodes_ = 0; onChanged(); return this; } 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 @@ -3660,11 +4185,14 @@ 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 @@ -3682,6 +4210,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3702,6 +4232,8 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3720,6 +4252,8 @@ public Builder setClusterConfig( return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3728,10 +4262,13 @@ 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; } @@ -3747,6 +4284,8 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3770,6 +4309,8 @@ public Builder clearClusterConfig() { return this; } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3780,6 +4321,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3798,6 +4341,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** + * + * *
      * Configuration for this cluster.
      * 
@@ -3805,75 +4350,103 @@ 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()); config_ = null; } configCase_ = 7; - onChanged();; + onChanged(); + ; return clusterConfigBuilder_; } 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. */ public Builder setDefaultStorageTypeValue(int value) { - + defaultStorageType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.valueOf(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = + com.google.bigtable.admin.v2.StorageType.valueOf(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. */ @@ -3881,22 +4454,27 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va if (value == null) { throw new NullPointerException(); } - + defaultStorageType_ = value.getNumber(); onChanged(); 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() { - + defaultStorageType_ = 0; onChanged(); return this; @@ -3904,41 +4482,61 @@ 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 encryptionConfigBuilder_ != null || 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. */ 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(); @@ -3952,11 +4550,15 @@ public Builder setEncryptionConfig(com.google.bigtable.admin.v2.Cluster.Encrypti 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) { @@ -3970,17 +4572,24 @@ 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 (encryptionConfig_ != null) { encryptionConfig_ = - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder(encryptionConfig_) + .mergeFrom(value) + .buildPartial(); } else { encryptionConfig_ = value; } @@ -3992,11 +4601,15 @@ public Builder mergeEncryptionConfig(com.google.bigtable.admin.v2.Cluster.Encryp 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() { if (encryptionConfigBuilder_ == null) { @@ -4010,55 +4623,73 @@ 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() { + 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); } @@ -4068,12 +4699,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(); } @@ -4082,27 +4713,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; @@ -4117,6 +4748,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster 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/ClusterName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 8f13624a21..e41ca7a93a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -37,11 +60,16 @@ public interface ClusterOrBuilder extends
    * 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
@@ -49,61 +77,84 @@ public interface ClusterOrBuilder extends
    * 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.
    * 
@@ -113,50 +164,74 @@ public interface ClusterOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java index 360333a243..5735bb824b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
@@ -59,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return Whether the gcRule field is set. */ @java.lang.Override @@ -66,6 +87,8 @@ public boolean hasGcRule() { return gcRule_ != null; } /** + * + * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -75,6 +98,7 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return The gcRule. */ @java.lang.Override @@ -82,6 +106,8 @@ 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.
@@ -98,6 +124,7 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -109,8 +136,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -124,8 +150,7 @@ 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;
@@ -135,17 +160,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;
@@ -167,130 +192,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +335,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 @@ -325,7 +356,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); + com.google.bigtable.admin.v2.ColumnFamily result = + new com.google.bigtable.admin.v2.ColumnFamily(this); if (gcRuleBuilder_ == null) { result.gcRule_ = gcRule_; } else { @@ -339,38 +371,39 @@ public com.google.bigtable.admin.v2.ColumnFamily 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.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; @@ -408,19 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getGcRuleFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + 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) { @@ -433,8 +466,13 @@ public Builder mergeFrom( 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.
@@ -444,12 +482,15 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return gcRuleBuilder_ != null || gcRule_ != null; } /** + * + * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -459,6 +500,7 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; + * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -469,6 +511,8 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** + * + * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -493,6 +537,8 @@ 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.
@@ -503,8 +549,7 @@ 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();
         onChanged();
@@ -515,6 +560,8 @@ public Builder setGcRule(
       return this;
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -529,7 +576,9 @@ public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
         if (gcRule_ != null) {
           gcRule_ =
-            com.google.bigtable.admin.v2.GcRule.newBuilder(gcRule_).mergeFrom(value).buildPartial();
+              com.google.bigtable.admin.v2.GcRule.newBuilder(gcRule_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           gcRule_ = value;
         }
@@ -541,6 +590,8 @@ 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.
@@ -563,6 +614,8 @@ public Builder clearGcRule() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -574,11 +627,13 @@ public Builder clearGcRule() {
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
     public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
-      
+
       onChanged();
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -593,11 +648,12 @@ 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.
@@ -609,21 +665,24 @@ 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);
     }
 
@@ -633,12 +692,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();
   }
@@ -647,27 +706,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;
@@ -682,6 +741,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ColumnFamily 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/ColumnFamilyOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
index 9dd5eb5347..73a9995428 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
@@ -17,10 +35,13 @@ public interface ColumnFamilyOrBuilder extends
    * 
* * .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.
@@ -30,10 +51,13 @@ public interface ColumnFamilyOrBuilder extends
    * 
* * .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/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
new file mode 100644
index 0000000000..e51426737e
--- /dev/null
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -0,0 +1,76 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
similarity index 67%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
index a6c7f4fa66..631369711d 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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_ = ""; @@ -26,39 +44,45 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -67,31 +91,33 @@ 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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
@@ -109,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The appProfileId. */ @java.lang.Override @@ -117,14 +146,15 @@ 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
@@ -132,16 +162,15 @@ 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 { @@ -152,12 +181,17 @@ public java.lang.String getAppProfileId() { 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 @@ -165,25 +199,36 @@ 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() { @@ -193,11 +238,14 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_; /** + * + * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -206,6 +254,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -247,12 +295,10 @@ 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; @@ -262,24 +308,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.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; } @@ -300,137 +343,142 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -450,9 +498,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 @@ -471,7 +519,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); + com.google.bigtable.admin.v2.CreateAppProfileRequest result = + new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); result.parent_ = parent_; result.appProfileId_ = appProfileId_; if (appProfileBuilder_ == null) { @@ -488,38 +537,39 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest 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.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; @@ -527,7 +577,8 @@ 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_; onChanged(); @@ -568,34 +619,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getAppProfileFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 32: { - ignoreWarnings_ = input.readBool(); + break; + } // case 26 + case 32: + { + ignoreWarnings_ = input.readBool(); - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -608,20 +662,24 @@ public Builder mergeFrom( 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; @@ -630,22 +688,25 @@ 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 { @@ -653,60 +714,73 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -714,6 +788,8 @@ public Builder setParentBytes( 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
@@ -721,13 +797,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -736,6 +812,8 @@ 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
@@ -743,15 +821,14 @@ 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 { @@ -759,6 +836,8 @@ 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
@@ -766,20 +845,22 @@ public java.lang.String getAppProfileId() {
      * 
* * 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) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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
@@ -787,15 +868,18 @@ public Builder setAppProfileId(
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); 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
@@ -803,16 +887,16 @@ 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -820,42 +904,61 @@ public Builder setAppProfileIdBytes( 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 appProfileBuilder_ != null || 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. */ 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) { @@ -871,15 +974,18 @@ 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(); onChanged(); @@ -890,18 +996,24 @@ public Builder setAppProfile( 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 (appProfile_ != null) { appProfile_ = - com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_) + .mergeFrom(value) + .buildPartial(); } else { appProfile_ = value; } @@ -913,12 +1025,16 @@ 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() { if (appProfileBuilder_ == null) { @@ -932,63 +1048,82 @@ 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() { - + onChanged(); 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 @@ -996,37 +1131,43 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); return this; } /** + * + * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; + * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { - + ignoreWarnings_ = false; 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); } @@ -1036,12 +1177,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(); } @@ -1050,27 +1191,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; @@ -1085,6 +1226,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateAppProfileRequest 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/CreateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index 53eb21e24d..65d15a68b3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -39,10 +66,13 @@ public interface CreateAppProfileRequestOrBuilder extends
    * 
* * 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
@@ -50,47 +80,64 @@ public interface CreateAppProfileRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java index a22b6b555b..457f33ef61 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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].
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -27,37 +45,41 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -66,29 +88,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 { @@ -99,11 +121,14 @@ public java.lang.String getName() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; 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 @@ -112,29 +137,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 { @@ -145,11 +170,14 @@ public java.lang.String getSourceTable() { 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 @@ -157,11 +185,14 @@ 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 @@ -169,6 +200,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -183,11 +216,14 @@ 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 @@ -195,11 +231,14 @@ 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 @@ -207,6 +246,8 @@ 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.
    * 
@@ -219,6 +260,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -230,8 +272,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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,12 +301,10 @@ 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; @@ -275,26 +314,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.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; @@ -325,96 +361,103 @@ 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].
@@ -422,33 +465,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +514,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
@@ -493,7 +535,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);
+      com.google.bigtable.admin.v2.CreateBackupMetadata result =
+          new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
       result.name_ = name_;
       result.sourceTable_ = sourceTable_;
       if (startTimeBuilder_ == null) {
@@ -514,38 +557,39 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata 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.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;
@@ -553,7 +597,8 @@ 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_;
         onChanged();
@@ -594,36 +639,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              sourceTable_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                sourceTable_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -636,18 +682,20 @@ public Builder mergeFrom(
 
     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; @@ -656,20 +704,21 @@ 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 { @@ -677,54 +726,61 @@ public java.lang.String getName() { } } /** + * + * *
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the backup being created.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -732,18 +788,20 @@ public Builder setNameBytes( 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; @@ -752,20 +810,21 @@ 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 { @@ -773,54 +832,61 @@ public java.lang.String getSourceTable() { } } /** + * + * *
      * 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) { + public Builder setSourceTable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceTable_ = value; 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() { - + sourceTable_ = getDefaultInstance().getSourceTable(); onChanged(); 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) { + public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceTable_ = value; onChanged(); return this; @@ -828,24 +894,33 @@ public Builder setSourceTableBytes( 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -856,6 +931,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -876,14 +953,15 @@ 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(); onChanged(); @@ -894,6 +972,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -904,7 +984,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -916,6 +996,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -934,6 +1016,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -941,11 +1025,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -956,11 +1042,12 @@ 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.
      * 
@@ -968,14 +1055,17 @@ 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_; @@ -983,24 +1073,33 @@ 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -1011,6 +1110,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1031,14 +1132,15 @@ 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(); onChanged(); @@ -1049,6 +1151,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1059,7 +1163,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1071,6 +1175,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1089,6 +1195,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1096,11 +1204,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1111,11 +1221,12 @@ 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.
      * 
@@ -1123,21 +1234,24 @@ 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); } @@ -1147,12 +1261,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(); } @@ -1161,27 +1275,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; @@ -1196,6 +1310,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupMetadata 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/CreateBackupMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java index 2e0e876d7c..6742786b2a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -75,24 +109,32 @@ public interface CreateBackupMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java index 159fa121ea..a897824bcd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
  * 
* * 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_ = ""; @@ -26,39 +44,45 @@ private CreateBackupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBackupRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -67,31 +91,33 @@ 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int BACKUP_ID_FIELD_NUMBER = 2; 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
@@ -112,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The backupId. */ @java.lang.Override @@ -120,14 +149,15 @@ 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
@@ -138,16 +168,15 @@ 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 { @@ -158,11 +187,15 @@ public java.lang.String getBackupId() { 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 @@ -170,11 +203,15 @@ 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 @@ -182,11 +219,14 @@ 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() { @@ -194,6 +234,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,8 +246,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -232,8 +272,7 @@ 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; @@ -243,21 +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.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; @@ -283,130 +320,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -424,9 +467,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 @@ -445,7 +488,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); + com.google.bigtable.admin.v2.CreateBackupRequest result = + new com.google.bigtable.admin.v2.CreateBackupRequest(this); result.parent_ = parent_; result.backupId_ = backupId_; if (backupBuilder_ == null) { @@ -461,38 +505,39 @@ public com.google.bigtable.admin.v2.CreateBackupRequest 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.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; @@ -500,7 +545,8 @@ 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_; onChanged(); @@ -538,29 +584,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - backupId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + backupId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -573,20 +621,24 @@ public Builder mergeFrom( 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; @@ -595,22 +647,25 @@ 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 { @@ -618,60 +673,73 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -679,6 +747,8 @@ public Builder setParentBytes( 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
@@ -689,13 +759,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -704,6 +774,8 @@ 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
@@ -714,15 +786,14 @@ 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 { @@ -730,6 +801,8 @@ 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
@@ -740,20 +813,22 @@ public java.lang.String getBackupId() {
      * 
* * 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) { + public Builder setBackupId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + backupId_ = value; 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
@@ -764,15 +839,18 @@ public Builder setBackupId(
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearBackupId() { - + backupId_ = getDefaultInstance().getBackupId(); onChanged(); return this; } /** + * + * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -783,16 +861,16 @@ 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) { + public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + backupId_ = value; onChanged(); return this; @@ -800,24 +878,35 @@ public Builder setBackupIdBytes( 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 backupBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -828,11 +917,14 @@ 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) { @@ -848,14 +940,16 @@ 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(); onChanged(); @@ -866,17 +960,22 @@ public Builder setBackup( 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 (backup_ != null) { backup_ = - com.google.bigtable.admin.v2.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Backup.newBuilder(backup_) + .mergeFrom(value) + .buildPartial(); } else { backup_ = value; } @@ -888,11 +987,14 @@ 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() { if (backupBuilder_ == null) { @@ -906,55 +1008,66 @@ 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() { - + onChanged(); 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); } @@ -964,12 +1077,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(); } @@ -978,27 +1091,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; @@ -1013,6 +1126,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupRequest 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/CreateBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java index 2592e79d6f..0f6ef2b786 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -42,10 +69,13 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * 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
@@ -56,35 +86,46 @@ public interface CreateBackupRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java index feb62a98e4..13c30f5d4a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java @@ -1,79 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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
@@ -81,76 +104,80 @@ public interface TableProgressOrBuilder extends
      * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
        * 
@@ -159,6 +186,8 @@ public enum State */ PENDING(1), /** + * + * *
        * The table is actively being copied to the new cluster.
        * 
@@ -167,6 +196,8 @@ public enum State */ COPYING(2), /** + * + * *
        * The table has been fully copied to the new cluster.
        * 
@@ -175,6 +206,8 @@ public enum State */ COMPLETED(3), /** + * + * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -187,11 +220,11 @@ public enum State
       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.
        * 
@@ -200,6 +233,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
        * The table is actively being copied to the new cluster.
        * 
@@ -208,6 +243,8 @@ public enum State */ public static final int COPYING_VALUE = 2; /** + * + * *
        * The table has been fully copied to the new cluster.
        * 
@@ -216,6 +253,8 @@ public enum State */ 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
@@ -226,7 +265,6 @@ public enum State
        */
       public static final int CANCELLED_VALUE = 4;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -251,51 +289,55 @@ 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);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      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() {
         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;
@@ -315,11 +357,14 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_;
     /**
+     *
+     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; + * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -330,6 +375,8 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; 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
@@ -337,6 +384,7 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; + * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -348,22 +396,30 @@ public long getEstimatedCopiedBytes() { private int state_; /** * .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() { + @java.lang.Override + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.valueOf(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.valueOf(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; @@ -375,15 +431,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (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); @@ -396,16 +454,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; @@ -415,17 +473,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.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; @@ -439,11 +496,9 @@ 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(); @@ -452,87 +507,95 @@ 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 @@ -542,39 +605,42 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -588,14 +654,16 @@ 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 @@ -609,7 +677,8 @@ 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); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = + new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); result.estimatedSizeBytes_ = estimatedSizeBytes_; result.estimatedCopiedBytes_ = estimatedCopiedBytes_; result.state_ = state_; @@ -621,46 +690,53 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -696,27 +772,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: { - estimatedSizeBytes_ = input.readInt64(); - - break; - } // case 16 - case 24: { - estimatedCopiedBytes_ = input.readInt64(); - - break; - } // case 24 - case 32: { - state_ = input.readEnum(); - - break; - } // case 32 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: + { + estimatedSizeBytes_ = input.readInt64(); + + break; + } // case 16 + case 24: + { + estimatedCopiedBytes_ = input.readInt64(); + + break; + } // case 24 + case 32: + { + state_ = input.readEnum(); + + 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) { @@ -727,13 +807,16 @@ public Builder mergeFrom( return this; } - 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 @@ -741,37 +824,45 @@ 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. */ public Builder setEstimatedSizeBytes(long value) { - + estimatedSizeBytes_ = value; onChanged(); 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() { - + estimatedSizeBytes_ = 0L; onChanged(); 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
@@ -779,6 +870,7 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; + * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -786,6 +878,8 @@ 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
@@ -793,16 +887,19 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; + * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ public Builder setEstimatedCopiedBytes(long value) { - + estimatedCopiedBytes_ = value; onChanged(); 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
@@ -810,10 +907,11 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; + * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { - + estimatedCopiedBytes_ = 0L; onChanged(); return this; @@ -822,56 +920,67 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** * .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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.valueOf(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.valueOf(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(); } - + state_ = value.getNumber(); onChanged(); return this; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -884,41 +993,44 @@ 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; @@ -930,20 +1042,23 @@ 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 @@ -951,18 +1066,25 @@ 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.
    * 
@@ -977,11 +1099,14 @@ public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalReq 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 @@ -989,11 +1114,14 @@ 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 @@ -1001,6 +1129,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -1015,11 +1145,14 @@ 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 @@ -1027,11 +1160,14 @@ 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 @@ -1039,6 +1175,8 @@ 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.
    * 
@@ -1051,24 +1189,33 @@ 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()); } + + 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> tables_; - private com.google.protobuf.MapField - internalGetTables() { + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField( - TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); } return tables_; } @@ -1077,6 +1224,8 @@ 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.
@@ -1087,24 +1236,28 @@ 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 getTables() { + public java.util.Map< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + getTables() { return getTablesMap(); } /** + * + * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1115,14 +1268,19 @@ public java.util.Map
    *
-   * 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 getTablesMap() {
+  public java.util.Map<
+          java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+      getTablesMap() {
     return internalGetTables().getMap();
   }
   /**
+   *
+   *
    * 
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1133,19 +1291,25 @@ public java.util.Map
    *
-   * 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 getTablesOrDefault(
       java.lang.String key,
       com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetTables().getMap();
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map<
+            java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+        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.
@@ -1156,15 +1320,19 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable
    * 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 map = - internalGetTables().getMap(); + 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 (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1172,6 +1340,7 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1183,8 +1352,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -1194,12 +1362,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -1210,26 +1374,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 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 += 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 += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1239,30 +1403,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.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; } @@ -1296,151 +1457,155 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1467,9 +1632,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 @@ -1488,7 +1653,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); + com.google.bigtable.admin.v2.CreateClusterMetadata result = + new com.google.bigtable.admin.v2.CreateClusterMetadata(this); int from_bitField0_ = bitField0_; if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; @@ -1515,38 +1681,39 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata 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.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; @@ -1554,7 +1721,8 @@ 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()); } @@ -1564,8 +1732,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata othe if (other.hasFinishTime()) { mergeFinishTime(other.getFinishTime()); } - internalGetMutableTables().mergeFrom( - other.internalGetTables()); + internalGetMutableTables().mergeFrom(other.internalGetTables()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1592,41 +1759,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - tables__ = input.readMessage( - TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableTables().getMutableMap().put( - tables__.getKey(), tables__.getValue()); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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()); + 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) { @@ -1636,38 +1807,52 @@ 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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.
      * 
@@ -1688,6 +1873,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1706,6 +1893,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1716,7 +1905,9 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -1728,6 +1919,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1746,6 +1939,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1753,26 +1948,32 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -1780,14 +1981,17 @@ public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalReq * .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_; @@ -1795,34 +1999,47 @@ public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -1843,14 +2060,15 @@ 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(); onChanged(); @@ -1861,6 +2079,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1871,7 +2091,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -1883,6 +2105,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1901,6 +2125,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1908,11 +2134,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -1923,11 +2151,14 @@ 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.
      * 
@@ -1935,14 +2166,17 @@ 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_; @@ -1950,34 +2184,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -1998,14 +2245,15 @@ 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(); onChanged(); @@ -2016,6 +2264,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2026,7 +2276,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -2038,6 +2288,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2056,6 +2308,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2063,11 +2317,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2078,11 +2334,14 @@ 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.
      * 
@@ -2090,35 +2349,42 @@ 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 - internalGetTables() { + 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() { 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 - internalGetMutableTables() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + internalGetMutableTables() { + onChanged(); + ; 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(); @@ -2130,6 +2396,8 @@ 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.
@@ -2140,24 +2408,28 @@ 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 getTables() { + public java.util.Map< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + getTables() { return getTablesMap(); } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2168,14 +2440,19 @@ public java.util.Map
      *
-     * 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 getTablesMap() {
+    public java.util.Map<
+            java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+        getTablesMap() {
       return internalGetTables().getMap();
     }
     /**
+     *
+     *
      * 
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2186,19 +2463,25 @@ public java.util.Map
      *
-     * 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 getTablesOrDefault(
         java.lang.String key,
         com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetTables().getMap();
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map<
+              java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress>
+          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.
@@ -2209,15 +2492,19 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable
      * 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 map = - internalGetTables().getMap(); + 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 (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2225,11 +2512,12 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } public Builder clearTables() { - 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.
@@ -2240,25 +2528,27 @@ 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 - getMutableTables() { + public java.util.Map< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + getMutableTables() { return internalGetMutableTables().getMutableMap(); } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2269,21 +2559,26 @@ public Builder removeTables(
      * 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 (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableTables().getMutableMap() - .put(key, value); + internalGetMutableTables().getMutableMap().put(key, value); return this; } /** + * + * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2294,18 +2589,20 @@ 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 values) { - internalGetMutableTables().getMutableMap() - .putAll(values); + java.util.Map< + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + values) { + internalGetMutableTables().getMutableMap().putAll(values); 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); } @@ -2315,12 +2612,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(); } @@ -2329,27 +2626,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; @@ -2364,6 +2661,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterMetadata 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/CreateClusterMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java index cfd598e40a..dde9742012 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface CreateClusterMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface CreateClusterMetadataOrBuilder extends 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.
    * 
@@ -89,6 +129,8 @@ public interface CreateClusterMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** + * + * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -99,10 +141,14 @@ public interface CreateClusterMetadataOrBuilder extends
    * 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.
@@ -113,17 +159,18 @@ public interface CreateClusterMetadataOrBuilder extends
    * newly-created cluster so far.
    * 
* - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - */ - boolean containsTables( - java.lang.String key); - /** - * Use {@link #getTablesMap()} instead. + * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; + * */ + 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.
@@ -134,11 +181,15 @@ boolean containsTables(
    * 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.
@@ -149,15 +200,19 @@ boolean containsTables(
    * 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.
@@ -168,9 +223,10 @@ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 175c0bd544..f6666ab297 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,39 +44,45 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateClusterRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -67,31 +91,33 @@ 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { public static final int CLUSTER_ID_FIELD_NUMBER = 2; 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
@@ -109,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The clusterId. */ @java.lang.Override @@ -117,14 +146,15 @@ 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
@@ -132,16 +162,15 @@ 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 { @@ -152,12 +181,16 @@ public java.lang.String getClusterId() { 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 @@ -165,12 +198,16 @@ 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 @@ -178,12 +215,15 @@ 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() { @@ -191,6 +231,7 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +243,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -229,8 +269,7 @@ 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; @@ -240,21 +279,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.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; @@ -281,129 +318,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -421,9 +464,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 @@ -442,7 +485,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); + com.google.bigtable.admin.v2.CreateClusterRequest result = + new com.google.bigtable.admin.v2.CreateClusterRequest(this); result.parent_ = parent_; result.clusterId_ = clusterId_; if (clusterBuilder_ == null) { @@ -458,38 +502,39 @@ public com.google.bigtable.admin.v2.CreateClusterRequest 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.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; @@ -497,7 +542,8 @@ 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_; onChanged(); @@ -535,29 +581,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - clusterId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + clusterId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -570,20 +618,24 @@ public Builder mergeFrom( 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; @@ -592,22 +644,25 @@ 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 { @@ -615,60 +670,73 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -676,6 +744,8 @@ public Builder setParentBytes( 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
@@ -683,13 +753,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -698,6 +768,8 @@ 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
@@ -705,15 +777,14 @@ 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 { @@ -721,6 +792,8 @@ 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
@@ -728,20 +801,22 @@ public java.lang.String getClusterId() {
      * 
* * 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) { + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + clusterId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -749,15 +824,18 @@ public Builder setClusterId(
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearClusterId() { - + clusterId_ = getDefaultInstance().getClusterId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -765,16 +843,16 @@ 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) { + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + clusterId_ = value; onChanged(); return this; @@ -782,42 +860,61 @@ public Builder setClusterIdBytes( 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 clusterBuilder_ != null || 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. */ 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) { @@ -833,15 +930,18 @@ 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(); onChanged(); @@ -852,18 +952,24 @@ public Builder setCluster( 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 (cluster_ != null) { cluster_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_) + .mergeFrom(value) + .buildPartial(); } else { cluster_ = value; } @@ -875,12 +981,16 @@ 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() { if (clusterBuilder_ == null) { @@ -894,58 +1004,74 @@ 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() { - + onChanged(); 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); } @@ -955,12 +1081,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(); } @@ -969,27 +1095,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; @@ -1004,6 +1130,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterRequest 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/CreateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index 5acbfb75b7..35c9ee104a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -39,10 +66,13 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * 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
@@ -50,38 +80,49 @@ public interface CreateClusterRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java index e3016c5c2c..75394c9779 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,18 +83,25 @@ 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.
    * 
@@ -88,11 +116,14 @@ public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRe 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 @@ -100,11 +131,14 @@ 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 @@ -112,6 +146,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -126,11 +162,14 @@ 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 @@ -138,11 +177,14 @@ 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 @@ -150,6 +192,8 @@ 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.
    * 
@@ -162,6 +206,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -194,16 +238,13 @@ 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; @@ -213,27 +254,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.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; @@ -264,129 +303,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +457,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 @@ -433,7 +478,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); + com.google.bigtable.admin.v2.CreateInstanceMetadata result = + new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -457,38 +503,39 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata 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.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; @@ -496,7 +543,8 @@ 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()); } @@ -532,33 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -571,34 +617,47 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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.
      * 
@@ -619,6 +678,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -637,6 +698,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -647,7 +710,9 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -659,6 +724,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -677,6 +744,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -684,26 +753,32 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -711,14 +786,17 @@ public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRe * .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_; @@ -726,34 +804,47 @@ public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRe 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -774,14 +865,15 @@ 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(); onChanged(); @@ -792,6 +884,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -802,7 +896,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -814,6 +910,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -832,6 +930,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -839,11 +939,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -854,11 +956,14 @@ 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.
      * 
@@ -866,14 +971,17 @@ 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_; @@ -881,34 +989,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -929,14 +1050,15 @@ 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(); onChanged(); @@ -947,6 +1069,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -957,7 +1081,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -969,6 +1093,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -987,6 +1113,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -994,11 +1122,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1009,11 +1139,14 @@ 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.
      * 
@@ -1021,21 +1154,24 @@ 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); } @@ -1045,12 +1181,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(); } @@ -1059,27 +1195,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; @@ -1094,6 +1230,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceMetadata 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/CreateInstanceMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java index 32c5925514..c12b184f4f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface CreateInstanceMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface CreateInstanceMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index 6b5883ed7b..0b74c6577f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,50 +44,55 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -78,30 +101,32 @@ 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 { @@ -112,6 +137,8 @@ public java.lang.String getParent() { public static final int INSTANCE_ID_FIELD_NUMBER = 2; 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
@@ -119,6 +146,7 @@ public java.lang.String getParent() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The instanceId. */ @java.lang.Override @@ -127,14 +155,15 @@ 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
@@ -142,16 +171,15 @@ 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 { @@ -162,12 +190,17 @@ public java.lang.String getInstanceId() { 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 @@ -175,25 +208,36 @@ 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() { @@ -201,24 +245,28 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { } 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()); } - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; + private com.google.protobuf.MapField - internalGetClusters() { + 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_; } @@ -227,6 +275,8 @@ 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
@@ -235,24 +285,26 @@ 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
@@ -261,14 +313,17 @@ 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
@@ -277,19 +332,23 @@ 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 getClustersOrDefault( - java.lang.String key, - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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
@@ -298,13 +357,15 @@ public 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]; + * */ @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)) { @@ -314,6 +375,7 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -325,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -336,12 +397,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -358,18 +415,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; @@ -379,24 +436,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.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; } @@ -426,151 +480,155 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -589,9 +647,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 @@ -610,7 +668,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); + com.google.bigtable.admin.v2.CreateInstanceRequest result = + new com.google.bigtable.admin.v2.CreateInstanceRequest(this); int from_bitField0_ = bitField0_; result.parent_ = parent_; result.instanceId_ = instanceId_; @@ -629,38 +688,39 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest 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.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; @@ -668,7 +728,8 @@ 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_; onChanged(); @@ -680,8 +741,7 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest othe if (other.hasInstance()) { mergeInstance(other.getInstance()); } - internalGetMutableClusters().mergeFrom( - other.internalGetClusters()); + internalGetMutableClusters().mergeFrom(other.internalGetClusters()); this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -708,37 +768,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - instanceId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 26: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - clusters__ = input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableClusters().getMutableMap().put( - clusters__.getKey(), clusters__.getValue()); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + instanceId_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 26: + { + input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry + clusters__ = + input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableClusters() + .getMutableMap() + .put(clusters__.getKey(), clusters__.getValue()); + 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) { @@ -748,23 +814,28 @@ 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; @@ -773,21 +844,24 @@ 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 { @@ -795,57 +869,70 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -853,6 +940,8 @@ public Builder setParentBytes( 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
@@ -860,13 +949,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -875,6 +964,8 @@ 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
@@ -882,15 +973,14 @@ 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 { @@ -898,6 +988,8 @@ 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
@@ -905,20 +997,22 @@ public java.lang.String getInstanceId() {
      * 
* * 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) { + public Builder setInstanceId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + instanceId_ = value; onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -926,15 +1020,18 @@ public Builder setInstanceId(
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInstanceId() { - + instanceId_ = getDefaultInstance().getInstanceId(); onChanged(); return this; } /** + * + * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -942,16 +1039,16 @@ 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) { + public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + instanceId_ = value; onChanged(); return this; @@ -959,42 +1056,61 @@ public Builder setInstanceIdBytes( 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 instanceBuilder_ != null || 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. */ 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) { @@ -1010,15 +1126,18 @@ 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(); onChanged(); @@ -1029,18 +1148,24 @@ public Builder setInstance( 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 (instance_ != null) { instance_ = - com.google.bigtable.admin.v2.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -1052,12 +1177,16 @@ 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() { if (instanceBuilder_ == null) { @@ -1071,72 +1200,90 @@ 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() { - + onChanged(); 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< - java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField - internalGetClusters() { + 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() { - onChanged();; + internalGetMutableClusters() { + onChanged(); + ; 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(); @@ -1148,6 +1295,8 @@ 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
@@ -1156,24 +1305,26 @@ 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
@@ -1182,14 +1333,17 @@ 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
@@ -1198,19 +1352,23 @@ 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 getClustersOrDefault( - java.lang.String key, - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } + java.lang.String 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
@@ -1219,13 +1377,15 @@ public 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]; + * */ @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)) { @@ -1235,11 +1395,12 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( } public Builder clearClusters() { - 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
@@ -1248,25 +1409,26 @@ 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() { + getMutableClusters() { return internalGetMutableClusters().getMutableMap(); } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1275,21 +1437,24 @@ public Builder removeClusters(
      * 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableClusters().getMutableMap() - .put(key, value); + internalGetMutableClusters().getMutableMap().put(key, value); return this; } /** + * + * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1298,18 +1463,18 @@ public Builder putClusters(
      * 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); 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); } @@ -1319,12 +1484,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(); } @@ -1333,27 +1498,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; @@ -1368,6 +1533,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceRequest 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/CreateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index 169860ec71..28f763e442 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -37,10 +64,13 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * 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
@@ -48,42 +78,58 @@ public interface CreateInstanceRequestOrBuilder extends
    * 
* * 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
@@ -92,10 +138,14 @@ public interface CreateInstanceRequestOrBuilder extends
    * 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
@@ -104,17 +154,17 @@ public interface CreateInstanceRequestOrBuilder extends
    * Currently, at most four clusters can be specified.
    * 
* - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - boolean containsClusters( - java.lang.String key); - /** - * Use {@link #getClustersMap()} instead. + * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ + 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
@@ -123,11 +173,14 @@ boolean containsClusters(
    * 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
@@ -136,15 +189,19 @@ boolean containsClusters(
    * 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
@@ -153,9 +210,9 @@ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java index 590b2dbaca..cb326cf4ce 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by CreateTableFromSnapshot.
  * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -14,52 +31,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -67,19 +89,26 @@ 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.
@@ -88,18 +117,22 @@ 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() {
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
+      getOriginalRequestOrBuilder() {
     return getOriginalRequest();
   }
 
   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 @@ -107,11 +140,14 @@ 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 @@ -119,6 +155,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -133,11 +171,14 @@ 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 @@ -145,11 +186,14 @@ 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 @@ -157,6 +201,8 @@ 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.
    * 
@@ -169,6 +215,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +227,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -201,16 +247,13 @@ 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; @@ -220,27 +263,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.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; @@ -271,96 +312,104 @@ 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.
    * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -371,33 +420,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,13 +471,14 @@ 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();
     }
 
@@ -444,7 +493,8 @@ 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);
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result =
+          new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
       if (originalRequestBuilder_ == null) {
         result.originalRequest_ = originalRequest_;
       } else {
@@ -468,38 +518,39 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata 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.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;
@@ -507,7 +558,9 @@ 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());
       }
@@ -543,33 +596,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOriginalRequestFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRequestTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getFinishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -582,36 +633,49 @@ public Builder mergeFrom(
 
     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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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.
@@ -619,7 +683,8 @@ 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();
@@ -633,6 +698,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSn
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -652,6 +719,8 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -659,11 +728,15 @@ 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 (originalRequest_ != null) {
           originalRequest_ =
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial();
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder(
+                      originalRequest_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           originalRequest_ = value;
         }
@@ -675,6 +748,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFrom
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -694,6 +769,8 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -701,12 +778,15 @@ 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() {
+
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -714,15 +794,19 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder getOr
      *
      * .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.
@@ -731,14 +815,17 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getO
      * .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_;
@@ -746,34 +833,47 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getO
 
     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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -794,14 +894,15 @@ 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(); onChanged(); @@ -812,6 +913,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -822,7 +925,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -834,6 +939,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -852,6 +959,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -859,11 +968,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -874,11 +985,14 @@ 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.
      * 
@@ -886,14 +1000,17 @@ 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_; @@ -901,34 +1018,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -949,14 +1079,15 @@ 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(); onChanged(); @@ -967,6 +1098,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -977,7 +1110,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -989,6 +1122,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1007,6 +1142,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1014,11 +1151,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1029,11 +1168,14 @@ 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.
      * 
@@ -1041,21 +1183,24 @@ 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); } @@ -1065,12 +1210,13 @@ 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(); } @@ -1079,27 +1225,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; @@ -1114,6 +1260,4 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata 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/CreateTableFromSnapshotMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java index b33b0422f9..ef8e7ecae3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -35,27 +59,36 @@ public interface CreateTableFromSnapshotMetadataOrBuilder extends
    *
    * .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.
    * 
@@ -65,24 +98,32 @@ public interface CreateTableFromSnapshotMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java index 3c90b66b71..392837847b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,15 +32,17 @@
  *
  * 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_ = "";
@@ -32,38 +51,44 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -72,30 +97,32 @@ 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 { @@ -106,12 +133,15 @@ public java.lang.String getParent() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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 @@ -120,30 +150,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 { @@ -154,6 +184,8 @@ public java.lang.String getTableId() { public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; 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.
@@ -161,7 +193,10 @@ public java.lang.String getTableId() {
    * `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 @@ -170,14 +205,15 @@ 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.
@@ -185,17 +221,18 @@ 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 { @@ -204,6 +241,7 @@ public java.lang.String getSourceSnapshot() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,8 +253,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -252,19 +289,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.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; } @@ -288,96 +323,104 @@ 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]
@@ -389,33 +432,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -429,9 +471,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
@@ -450,7 +492,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);
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result =
+          new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
       result.parent_ = parent_;
       result.tableId_ = tableId_;
       result.sourceSnapshot_ = sourceSnapshot_;
@@ -462,38 +505,39 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest 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.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;
@@ -501,7 +545,8 @@ 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_;
         onChanged();
@@ -540,27 +585,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              sourceSnapshot_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                sourceSnapshot_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -573,19 +622,23 @@ public Builder mergeFrom(
 
     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; @@ -594,21 +647,24 @@ 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 { @@ -616,57 +672,70 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -674,19 +743,21 @@ public Builder setParentBytes( 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; @@ -695,21 +766,22 @@ 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 { @@ -717,57 +789,64 @@ 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]; + * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId( - java.lang.String value) { + public Builder setTableId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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() { - + tableId_ = getDefaultInstance().getTableId(); 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]; + * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; @@ -775,6 +854,8 @@ public Builder setTableIdBytes( 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.
@@ -782,14 +863,16 @@ public Builder setTableIdBytes(
      * `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; @@ -798,6 +881,8 @@ 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.
@@ -805,16 +890,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. */ - 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 { @@ -822,6 +908,8 @@ 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.
@@ -829,21 +917,25 @@ 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) = { ... } + * + * * @param value The sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshot( - java.lang.String value) { + public Builder setSourceSnapshot(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + sourceSnapshot_ = value; 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.
@@ -851,16 +943,21 @@ public Builder setSourceSnapshot(
      * `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() { - + sourceSnapshot_ = getDefaultInstance().getSourceSnapshot(); 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.
@@ -868,24 +965,26 @@ 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) { + public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sourceSnapshot_ = 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); } @@ -895,12 +994,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(); } @@ -909,27 +1008,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; @@ -944,6 +1043,4 @@ public com.google.protobuf.Parser getParserForTy public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest 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/CreateTableFromSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java index 124b4dfade..f3a5b86e8f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java @@ -1,57 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -59,11 +91,16 @@ public interface CreateTableFromSnapshotRequestOrBuilder extends
    * `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.
@@ -71,9 +108,11 @@ public interface CreateTableFromSnapshotRequestOrBuilder extends
    * `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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java index b7328732e2..f5d6c6f995 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -28,96 +46,108 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -126,6 +156,7 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,8 +168,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -152,8 +182,7 @@ 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; @@ -163,15 +192,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; } @@ -191,87 +220,94 @@ 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 @@ -281,39 +317,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -323,9 +361,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 @@ -344,7 +382,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); + com.google.bigtable.admin.v2.CreateTableRequest.Split result = + new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); result.key_ = key_; onBuilt(); return result; @@ -354,38 +393,41 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split 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.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; @@ -393,7 +435,8 @@ 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()); } @@ -423,17 +466,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - key_ = input.readBytes(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + key_ = input.readBytes(); + + 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) { @@ -446,11 +491,14 @@ public Builder mergeFrom( 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 @@ -458,37 +506,44 @@ 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(); - } - + throw new NullPointerException(); + } + key_ = value; onChanged(); return this; } /** + * + * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -501,12 +556,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(); } @@ -515,27 +570,28 @@ 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; @@ -550,18 +606,22 @@ 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; 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 @@ -570,30 +630,32 @@ 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 { @@ -604,6 +666,8 @@ public java.lang.String getParent() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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`.
@@ -611,6 +675,7 @@ public java.lang.String getParent() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tableId. */ @java.lang.Override @@ -619,14 +684,15 @@ 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`.
@@ -634,16 +700,15 @@ 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 { @@ -654,11 +719,15 @@ public java.lang.String getTableId() { 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 @@ -666,11 +735,15 @@ 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 @@ -678,11 +751,14 @@ 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() { @@ -692,6 +768,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; 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).
@@ -712,10 +790,13 @@ 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).
@@ -736,11 +817,13 @@ public java.util.List get
    * 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).
@@ -765,6 +848,8 @@ 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).
@@ -789,6 +874,8 @@ 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).
@@ -815,6 +902,7 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -826,8 +914,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -856,12 +943,10 @@ 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;
@@ -871,24 +956,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.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;
   }
@@ -917,97 +999,104 @@ 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]
@@ -1015,33 +1104,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1066,9 +1154,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
@@ -1087,7 +1175,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.parent_ = parent_;
       result.tableId_ = tableId_;
@@ -1113,38 +1202,39 @@ public com.google.bigtable.admin.v2.CreateTableRequest 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.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;
@@ -1152,7 +1242,8 @@ 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_;
         onChanged();
@@ -1182,9 +1273,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            initialSplitsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getInitialSplitsFieldBuilder() : null;
+            initialSplitsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getInitialSplitsFieldBuilder()
+                    : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1216,42 +1308,45 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
 
-              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:
+                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) {
@@ -1261,23 +1356,28 @@ 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; @@ -1286,21 +1386,24 @@ 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 { @@ -1308,57 +1411,70 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -1366,6 +1482,8 @@ public Builder setParentBytes( 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`.
@@ -1373,13 +1491,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -1388,6 +1506,8 @@ 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`.
@@ -1395,15 +1515,14 @@ 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 { @@ -1411,6 +1530,8 @@ 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`.
@@ -1418,20 +1539,22 @@ public java.lang.String getTableId() {
      * 
* * 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) { + public Builder setTableId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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`.
@@ -1439,15 +1562,18 @@ public Builder setTableId(
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); 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`.
@@ -1455,16 +1581,16 @@ 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) { + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = value; onChanged(); return this; @@ -1472,24 +1598,35 @@ public Builder setTableIdBytes( 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 tableBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1500,11 +1637,14 @@ 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) { @@ -1520,14 +1660,16 @@ 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(); onChanged(); @@ -1538,17 +1680,20 @@ public Builder setTable( 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 (table_ != null) { table_ = - com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -1560,11 +1705,14 @@ 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() { if (tableBuilder_ == null) { @@ -1578,66 +1726,85 @@ 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() { - + onChanged(); 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_ & 0x00000001) != 0)) { - initialSplits_ = new java.util.ArrayList(initialSplits_); + initialSplits_ = + new java.util.ArrayList( + initialSplits_); bitField0_ |= 0x00000001; - } + } } 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).
@@ -1657,7 +1824,8 @@ 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 {
@@ -1665,6 +1833,8 @@ public java.util.List get
       }
     }
     /**
+     *
+     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1692,6 +1862,8 @@ 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).
@@ -1719,6 +1891,8 @@ 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).
@@ -1753,6 +1927,8 @@ 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).
@@ -1784,6 +1960,8 @@ 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).
@@ -1817,6 +1995,8 @@ 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).
@@ -1851,6 +2031,8 @@ 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).
@@ -1882,6 +2064,8 @@ 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).
@@ -1913,6 +2097,8 @@ 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).
@@ -1933,11 +2119,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);
@@ -1945,6 +2131,8 @@ 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).
@@ -1975,6 +2163,8 @@ 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).
@@ -2005,6 +2195,8 @@ 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).
@@ -2029,6 +2221,8 @@ 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).
@@ -2051,11 +2245,14 @@ 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).
@@ -2075,8 +2272,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 {
@@ -2084,6 +2281,8 @@ 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).
@@ -2104,10 +2303,12 @@ 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).
@@ -2129,10 +2330,13 @@ 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).
@@ -2152,16 +2356,22 @@ 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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -2170,9 +2380,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);
     }
 
@@ -2182,12 +2392,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();
   }
@@ -2196,27 +2406,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;
@@ -2231,6 +2441,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.CreateTableRequest 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/CreateTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
index 8ce672260f..c456476e3f 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
@@ -1,35 +1,62 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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`.
@@ -37,10 +64,13 @@ public interface CreateTableRequestOrBuilder extends
    * 
* * 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`.
@@ -48,39 +78,52 @@ public interface CreateTableRequestOrBuilder extends
    * 
* * 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).
@@ -100,9 +143,10 @@ public interface CreateTableRequestOrBuilder extends
    *
    * 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).
@@ -124,6 +168,8 @@ public interface CreateTableRequestOrBuilder extends
    */
   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).
@@ -145,6 +191,8 @@ public interface CreateTableRequestOrBuilder extends
    */
   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).
@@ -164,9 +212,11 @@ public interface CreateTableRequestOrBuilder extends
    *
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
similarity index 66%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
index 002bf5f355..4a85712a9f 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
@@ -1,62 +1,86 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -99,11 +125,14 @@ public java.lang.String getName() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; 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 @@ -112,6 +141,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +153,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -144,8 +173,7 @@ 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; @@ -155,17 +183,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.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; } @@ -180,137 +207,142 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -322,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_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 @@ -343,7 +375,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); + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = + new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); result.name_ = name_; result.ignoreWarnings_ = ignoreWarnings_; onBuilt(); @@ -354,38 +387,39 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest 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.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; @@ -393,7 +427,8 @@ 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_; onChanged(); @@ -427,22 +462,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - ignoreWarnings_ = input.readBool(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + ignoreWarnings_ = input.readBool(); + + 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) { @@ -455,19 +493,23 @@ public Builder mergeFrom( 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; @@ -476,21 +518,24 @@ 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 { @@ -498,69 +543,85 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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 @@ -568,37 +629,43 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); 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() { - + ignoreWarnings_ = false; 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 +675,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(); } @@ -622,27 +689,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; @@ -657,6 +724,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteAppProfileRequest 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/DeleteAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java similarity index 51% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 6dfe84de7d..f62608712c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java @@ -1,40 +1,68 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java index 060c861ab0..332e0ce5a6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -66,31 +90,33 @@ 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 { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -162,130 +188,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,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 @@ -316,7 +348,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); + com.google.bigtable.admin.v2.DeleteBackupRequest result = + new com.google.bigtable.admin.v2.DeleteBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest 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.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; @@ -365,7 +399,8 @@ 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_; onChanged(); @@ -396,17 +431,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -419,20 +456,24 @@ public Builder mergeFrom( 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; @@ -441,22 +482,25 @@ 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 { @@ -464,67 +508,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -534,12 +591,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(); } @@ -548,27 +605,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; @@ -583,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..140db00664 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index f84771b515..35c1a6a376 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -133,15 +159,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; } @@ -161,129 +187,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +325,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 @@ -314,7 +346,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); + com.google.bigtable.admin.v2.DeleteClusterRequest result = + new com.google.bigtable.admin.v2.DeleteClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest 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.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; @@ -363,7 +397,8 @@ 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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,24 @@ 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 { @@ -460,64 +504,77 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..88c65b724d --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index 7f3db55417..b3b6da08f2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -133,15 +159,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; } @@ -161,129 +187,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +325,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 @@ -314,7 +346,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); + com.google.bigtable.admin.v2.DeleteInstanceRequest result = + new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest 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.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; @@ -363,7 +397,8 @@ 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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,24 @@ 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 { @@ -460,64 +504,77 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..2f53ef3e45 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index 490629e88b..3f05f058f5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,54 +32,61 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -71,31 +95,33 @@ 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 { @@ -104,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -140,15 +166,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; } @@ -168,96 +194,103 @@ 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]
@@ -269,33 +302,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -305,9 +337,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
@@ -326,7 +358,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);
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result =
+          new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -336,38 +369,39 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest 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.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;
@@ -375,7 +409,8 @@ 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_;
         onChanged();
@@ -406,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -429,20 +466,24 @@ public Builder mergeFrom(
 
     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; @@ -451,22 +492,25 @@ 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 { @@ -474,67 +518,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -544,12 +601,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(); } @@ -558,27 +615,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; @@ -593,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..0a137b602d --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index 2d3059a091..84a58dbf6a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,54 +28,61 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,31 +91,33 @@ 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 { @@ -100,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -136,15 +162,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; } @@ -163,97 +189,104 @@ 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]
@@ -261,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,9 +329,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
@@ -318,7 +350,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);
+      com.google.bigtable.admin.v2.DeleteTableRequest result =
+          new com.google.bigtable.admin.v2.DeleteTableRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +361,39 @@ public com.google.bigtable.admin.v2.DeleteTableRequest 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.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;
@@ -367,7 +401,8 @@ 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_;
         onChanged();
@@ -398,17 +433,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -421,20 +458,24 @@ public Builder mergeFrom(
 
     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; @@ -443,22 +484,25 @@ 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 { @@ -466,67 +510,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -536,12 +593,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(); } @@ -550,27 +607,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; @@ -585,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..f70089424e --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index fb6f6a401b..4239f2d91d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,53 +28,58 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,33 +95,41 @@ 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;
   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 @@ -108,31 +138,33 @@ 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 { @@ -142,12 +174,15 @@ public java.lang.String getName() { 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 @@ -155,12 +190,15 @@ 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 @@ -173,11 +211,14 @@ 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 @@ -185,11 +226,14 @@ 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 @@ -201,6 +245,7 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -212,18 +257,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 (!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); } @@ -238,14 +280,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; @@ -255,24 +297,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.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: @@ -297,8 +337,7 @@ 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: @@ -308,97 +347,104 @@ 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]
@@ -406,33 +452,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -444,9 +489,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
@@ -465,7 +510,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);
+      com.google.bigtable.admin.v2.DropRowRangeRequest result =
+          new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
       result.name_ = name_;
       if (targetCase_ == 2) {
         result.target_ = target_;
@@ -482,38 +528,39 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest 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.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;
@@ -521,23 +568,27 @@ 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_;
         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();
@@ -565,27 +616,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              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();
+
+                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) {
@@ -595,12 +650,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() {
@@ -610,23 +665,26 @@ public Builder clearTarget() {
       return this;
     }
 
-
     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; @@ -635,22 +693,25 @@ 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 { @@ -658,84 +719,103 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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 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() { @@ -745,31 +825,37 @@ 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(); - } - targetCase_ = 2; + 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() { @@ -782,22 +868,28 @@ 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() { @@ -807,11 +899,14 @@ 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. */ @@ -822,11 +917,14 @@ 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() { @@ -837,9 +935,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); } @@ -849,12 +947,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(); } @@ -863,27 +961,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; @@ -898,6 +996,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DropRowRangeRequest 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/DropRowRangeRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java index 4ad4ad9317..0c75eed434 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java @@ -1,72 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java index 1e0ca120fb..d85b829aaa 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -13,15 +30,16 @@
  *
  * 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_ = "";
@@ -29,39 +47,43 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -70,6 +92,8 @@ public enum EncryptionType */ 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.
@@ -80,6 +104,8 @@ public enum EncryptionType
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
+     *
+     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -97,6 +123,8 @@ public enum EncryptionType
     ;
 
     /**
+     *
+     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -105,6 +133,8 @@ public enum EncryptionType */ 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.
@@ -115,6 +145,8 @@ public enum EncryptionType
      */
     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.
@@ -129,7 +161,6 @@ public enum EncryptionType
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -154,49 +185,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<
-        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() {
+
+    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() {
       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;
@@ -216,39 +247,58 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.valueOf(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.valueOf(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 @@ -256,25 +306,34 @@ 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() { @@ -284,12 +343,17 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; 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 @@ -298,30 +362,32 @@ 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 { @@ -330,6 +396,7 @@ public java.lang.String getKmsKeyVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -341,12 +408,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(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) { @@ -364,13 +432,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; @@ -380,21 +448,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.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; } @@ -419,97 +486,104 @@ 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
@@ -519,33 +593,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -563,9 +636,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
@@ -584,7 +657,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);
+      com.google.bigtable.admin.v2.EncryptionInfo result =
+          new com.google.bigtable.admin.v2.EncryptionInfo(this);
       result.encryptionType_ = encryptionType_;
       if (encryptionStatusBuilder_ == null) {
         result.encryptionStatus_ = encryptionStatus_;
@@ -600,38 +674,39 @@ public com.google.bigtable.admin.v2.EncryptionInfo 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.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;
@@ -676,29 +751,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              kmsKeyVersion_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              encryptionType_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getEncryptionStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                kmsKeyVersion_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                encryptionType_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(
+                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -711,73 +789,103 @@ public Builder mergeFrom(
 
     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. */ public Builder setEncryptionTypeValue(int value) { - + encryptionType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.valueOf(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.valueOf(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(); } - + encryptionType_ = value.getNumber(); onChanged(); 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() { - + encryptionType_ = 0; onChanged(); return this; @@ -785,42 +893,56 @@ 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 encryptionStatusBuilder_ != null || 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. */ 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) { @@ -836,15 +958,17 @@ 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(); onChanged(); @@ -855,18 +979,21 @@ public Builder setEncryptionStatus( 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 (encryptionStatus_ != null) { encryptionStatus_ = - com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); + com.google.rpc.Status.newBuilder(encryptionStatus_).mergeFrom(value).buildPartial(); } else { encryptionStatus_ = value; } @@ -878,12 +1005,15 @@ 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() { if (encryptionStatusBuilder_ == null) { @@ -897,51 +1027,62 @@ 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() { - + onChanged(); 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_; @@ -949,19 +1090,23 @@ 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; @@ -970,21 +1115,24 @@ 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 { @@ -992,64 +1140,77 @@ 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) = { ... } + * + * * @param value The kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersion( - java.lang.String value) { + public Builder setKmsKeyVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyVersion_ = value; 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() { - + kmsKeyVersion_ = getDefaultInstance().getKmsKeyVersion(); 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) = { ... } + * + * * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyVersion_ = 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); } @@ -1059,12 +1220,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(); } @@ -1073,27 +1234,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; @@ -1108,6 +1269,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.EncryptionInfo 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/EncryptionInfoOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java similarity index 59% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java index a3b723245b..0ef38b4997 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java @@ -1,80 +1,126 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java index bb576d947d..5a3866c1bf 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java @@ -1,66 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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`.
      * 
@@ -69,6 +91,8 @@ public interface IntersectionOrBuilder extends */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -77,72 +101,80 @@ public interface IntersectionOrBuilder extends */ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List rules_; /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -154,6 +186,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -161,11 +195,13 @@ 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`.
      * 
@@ -177,6 +213,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -188,6 +226,8 @@ 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`.
      * 
@@ -195,12 +235,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; @@ -212,8 +252,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -227,8 +266,7 @@ 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; @@ -238,15 +276,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; } @@ -268,87 +306,93 @@ 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 @@ -358,39 +402,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -405,9 +451,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 @@ -426,7 +472,8 @@ 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); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -445,38 +492,41 @@ public com.google.bigtable.admin.v2.GcRule.Intersection 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.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; @@ -484,7 +534,8 @@ 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()) { @@ -503,9 +554,10 @@ 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_); } @@ -537,25 +589,26 @@ 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) { @@ -565,21 +618,28 @@ 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`.
        * 
@@ -594,6 +654,8 @@ public java.util.List getRulesList() { } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -608,6 +670,8 @@ public int getRulesCount() { } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -622,14 +686,15 @@ 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(); @@ -643,6 +708,8 @@ public Builder setRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -661,6 +728,8 @@ public Builder setRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -681,14 +750,15 @@ 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(); @@ -702,14 +772,15 @@ public Builder addRules( 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()); @@ -720,6 +791,8 @@ public Builder addRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -738,6 +811,8 @@ public Builder addRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -748,8 +823,7 @@ 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); @@ -757,6 +831,8 @@ public Builder addAllRules( return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -774,6 +850,8 @@ public Builder clearRules() { return this; } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -791,39 +869,44 @@ 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 { @@ -831,6 +914,8 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -838,46 +923,52 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( * 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) { @@ -890,12 +981,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(); } @@ -904,27 +995,28 @@ 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; @@ -939,23 +1031,26 @@ 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`.
      * 
@@ -964,6 +1059,8 @@ public interface UnionOrBuilder extends */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -972,72 +1069,80 @@ public interface UnionOrBuilder extends */ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List rules_; /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1049,6 +1154,8 @@ public java.util.List getRulesList() { return rules_; } /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1056,11 +1163,13 @@ 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`.
      * 
@@ -1072,6 +1181,8 @@ public int getRulesCount() { return rules_.size(); } /** + * + * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1083,6 +1194,8 @@ 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`.
      * 
@@ -1090,12 +1203,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; @@ -1107,8 +1220,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -1122,8 +1234,7 @@ 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; @@ -1133,15 +1244,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; } @@ -1162,88 +1273,94 @@ 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 @@ -1253,39 +1370,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1300,9 +1419,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 @@ -1321,7 +1440,8 @@ 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); int from_bitField0_ = bitField0_; if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1340,38 +1460,41 @@ public com.google.bigtable.admin.v2.GcRule.Union 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.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; @@ -1398,9 +1521,10 @@ 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_); } @@ -1432,25 +1556,26 @@ 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) { @@ -1460,21 +1585,28 @@ 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`.
        * 
@@ -1489,6 +1621,8 @@ public java.util.List getRulesList() { } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1503,6 +1637,8 @@ public int getRulesCount() { } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1517,14 +1653,15 @@ 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(); @@ -1538,6 +1675,8 @@ public Builder setRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1556,6 +1695,8 @@ public Builder setRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1576,14 +1717,15 @@ 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(); @@ -1597,14 +1739,15 @@ public Builder addRules( 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()); @@ -1615,6 +1758,8 @@ public Builder addRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1633,6 +1778,8 @@ public Builder addRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1643,8 +1790,7 @@ 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); @@ -1652,6 +1798,8 @@ public Builder addAllRules( return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1669,6 +1817,8 @@ public Builder clearRules() { return this; } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1686,39 +1836,44 @@ 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 { @@ -1726,6 +1881,8 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1733,46 +1890,52 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( * 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) { @@ -1785,12 +1948,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(); } @@ -1799,27 +1962,28 @@ 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; @@ -1834,13 +1998,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int ruleCase_ = 0; 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), @@ -1848,6 +2013,7 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; + private RuleCase(int value) { this.value = value; } @@ -1863,32 +2029,40 @@ 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 @@ -1896,11 +2070,14 @@ 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 @@ -1913,6 +2090,8 @@ 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
@@ -1920,6 +2099,7 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; + * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -1927,6 +2107,8 @@ 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
@@ -1934,16 +2116,19 @@ 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
@@ -1955,18 +2140,21 @@ 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 @@ -1974,21 +2162,26 @@ 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.
    * 
@@ -1998,18 +2191,21 @@ 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 @@ -2017,21 +2213,26 @@ 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.
    * 
@@ -2041,12 +2242,13 @@ 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; @@ -2058,11 +2260,9 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); @@ -2083,21 +2283,24 @@ 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; @@ -2107,7 +2310,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); @@ -2117,20 +2320,16 @@ 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: @@ -2171,130 +2370,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2313,9 +2517,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 @@ -2368,38 +2572,39 @@ public com.google.bigtable.admin.v2.GcRule 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.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; @@ -2409,25 +2614,30 @@ 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(); @@ -2455,38 +2665,37 @@ 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) { @@ -2496,12 +2705,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() { @@ -2511,24 +2720,29 @@ public Builder clearRule() { return this; } - /** + * + * *
      * 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() { @@ -2538,11 +2752,14 @@ 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. */ @@ -2553,11 +2770,14 @@ 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() { @@ -2570,8 +2790,13 @@ 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
@@ -2579,6 +2804,7 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; + * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2586,6 +2812,8 @@ 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
@@ -2593,6 +2821,7 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; + * * @return The maxAge. */ @java.lang.Override @@ -2610,6 +2839,8 @@ 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
@@ -2632,6 +2863,8 @@ 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
@@ -2640,8 +2873,7 @@ 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();
@@ -2652,6 +2884,8 @@ public Builder setMaxAge(
       return this;
     }
     /**
+     *
+     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2662,10 +2896,11 @@ public Builder setMaxAge(
      */
     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;
         }
@@ -2681,6 +2916,8 @@ 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
@@ -2706,6 +2943,8 @@ 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
@@ -2718,6 +2957,8 @@ 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
@@ -2738,6 +2979,8 @@ 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
@@ -2747,32 +2990,42 @@ 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;
-      onChanged();;
+      onChanged();
+      ;
       return maxAgeBuilder_;
     }
 
     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 @@ -2780,11 +3033,14 @@ 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 @@ -2802,6 +3058,8 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2822,6 +3080,8 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2840,6 +3100,8 @@ public Builder setIntersection( return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2848,10 +3110,13 @@ 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; } @@ -2867,6 +3132,8 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2890,6 +3157,8 @@ public Builder clearIntersection() { return this; } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2900,6 +3169,8 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2918,6 +3189,8 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** + * + * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -2925,32 +3198,44 @@ 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()); rule_ = null; } ruleCase_ = 3; - onChanged();; + onChanged(); + ; return intersectionBuilder_; } 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 @@ -2958,11 +3243,14 @@ 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 @@ -2980,6 +3268,8 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3000,14 +3290,15 @@ 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(); @@ -3018,6 +3309,8 @@ public Builder setUnion( return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3026,10 +3319,13 @@ public Builder setUnion( */ 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; } @@ -3045,6 +3341,8 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3068,6 +3366,8 @@ public Builder clearUnion() { return this; } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3078,6 +3378,8 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3096,6 +3398,8 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** + * + * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3103,26 +3407,32 @@ 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()); rule_ = null; } ruleCase_ = 4; - onChanged();; + 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); } @@ -3132,12 +3442,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(); } @@ -3146,27 +3456,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; @@ -3181,6 +3491,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule 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/GcRuleOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java index ce50768ec7..2377b77320 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -34,10 +58,13 @@ public interface GcRuleOrBuilder extends
    * 
* * .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
@@ -45,10 +72,13 @@ public interface GcRuleOrBuilder extends
    * 
* * .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
@@ -60,24 +90,32 @@ public interface GcRuleOrBuilder extends
   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.
    * 
@@ -87,24 +125,32 @@ public interface GcRuleOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java index e0c5bfbf79..15ae710e62 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,54 +28,62 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,31 +92,33 @@ 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 { @@ -100,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +139,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -136,15 +163,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; } @@ -164,96 +191,104 @@ 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]
@@ -261,33 +296,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,13 +331,14 @@ 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();
     }
 
@@ -318,7 +353,8 @@ 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);
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result =
+          new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +364,39 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest 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.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;
@@ -367,7 +404,9 @@ 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_;
         onChanged();
@@ -398,17 +437,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -421,20 +462,24 @@ public Builder mergeFrom(
 
     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; @@ -443,22 +488,25 @@ 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 { @@ -466,67 +514,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -536,12 +597,13 @@ 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(); } @@ -550,27 +612,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; @@ -585,6 +647,4 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..9d70e81ddb --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java index 0648868267..df2c9b5536 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,52 +28,58 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object consistencyToken_;
   /**
+   *
+   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; + * * @return The consistencyToken. */ @java.lang.Override @@ -65,29 +88,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 { @@ -96,6 +119,7 @@ public java.lang.String getConsistencyToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -107,8 +131,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -132,15 +155,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; } @@ -160,96 +183,104 @@ 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]
@@ -257,33 +288,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -293,13 +323,14 @@ 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();
     }
 
@@ -314,7 +345,8 @@ 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);
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result =
+          new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
       result.consistencyToken_ = consistencyToken_;
       onBuilt();
       return result;
@@ -324,38 +356,39 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartia
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.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;
@@ -363,7 +396,9 @@ 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_;
         onChanged();
@@ -394,17 +429,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              consistencyToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                consistencyToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -417,18 +454,20 @@ public Builder mergeFrom(
 
     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; @@ -437,20 +476,21 @@ 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 { @@ -458,61 +498,68 @@ public java.lang.String getConsistencyToken() { } } /** + * + * *
      * 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) { + public Builder setConsistencyToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + consistencyToken_ = value; onChanged(); return this; } /** + * + * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; + * * @return This builder for chaining. */ public Builder clearConsistencyToken() { - + consistencyToken_ = getDefaultInstance().getConsistencyToken(); onChanged(); 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) { + public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + consistencyToken_ = 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); } @@ -522,12 +569,13 @@ 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(); } @@ -536,27 +584,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; @@ -571,6 +619,4 @@ public com.google.protobuf.Parser getParserFor public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..81049bc139 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index 05f77bdfe9..82a6c7fcb5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -133,15 +159,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; } @@ -161,129 +187,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +325,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 @@ -314,7 +346,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); + com.google.bigtable.admin.v2.GetAppProfileRequest result = + new com.google.bigtable.admin.v2.GetAppProfileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest 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.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; @@ -363,7 +397,8 @@ 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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,24 @@ 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 { @@ -460,64 +504,77 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..e020273ffe --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java index 4fbadeba19..54165afb87 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java @@ -1,63 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -66,31 +90,33 @@ 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 { @@ -99,6 +125,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +137,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -135,15 +161,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -162,130 +188,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -295,9 +327,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 @@ -316,7 +348,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); + com.google.bigtable.admin.v2.GetBackupRequest result = + new com.google.bigtable.admin.v2.GetBackupRequest(this); result.name_ = name_; onBuilt(); return result; @@ -326,38 +359,39 @@ public com.google.bigtable.admin.v2.GetBackupRequest 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.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; @@ -396,17 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -419,20 +455,24 @@ public Builder mergeFrom( 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; @@ -441,22 +481,25 @@ 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 { @@ -464,67 +507,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -534,12 +590,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(); } @@ -548,27 +604,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; @@ -583,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..e2a8898e2a --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java index 94f6ab494e..6b80a8e4f9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -133,15 +159,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; } @@ -160,130 +186,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +325,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 @@ -314,7 +346,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); + com.google.bigtable.admin.v2.GetClusterRequest result = + new com.google.bigtable.admin.v2.GetClusterRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.bigtable.admin.v2.GetClusterRequest 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.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; @@ -394,17 +428,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +453,23 @@ public Builder mergeFrom( 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; @@ -438,21 +478,24 @@ 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 { @@ -460,64 +503,77 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -527,12 +583,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(); } @@ -541,27 +597,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; @@ -576,6 +632,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..a4e313feb6 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index bb15b22fc9..61a4318c22 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -65,30 +89,32 @@ 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 { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -133,15 +159,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; } @@ -160,130 +186,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,9 +325,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 @@ -314,7 +346,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); + com.google.bigtable.admin.v2.GetInstanceRequest result = + new com.google.bigtable.admin.v2.GetInstanceRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +357,39 @@ public com.google.bigtable.admin.v2.GetInstanceRequest 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.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; @@ -363,7 +397,8 @@ 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_; onChanged(); @@ -394,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + 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) { @@ -417,19 +454,23 @@ public Builder mergeFrom( 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; @@ -438,21 +479,24 @@ 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 { @@ -460,64 +504,77 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -527,12 +584,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(); } @@ -541,27 +598,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; @@ -576,6 +633,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..5d06a96344 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -0,0 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index c70a17a789..831faeac60 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,54 +32,61 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -71,31 +95,33 @@ 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 { @@ -104,6 +130,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +142,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -140,15 +166,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; } @@ -167,97 +193,104 @@ 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]
@@ -269,33 +302,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -305,9 +337,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
@@ -326,7 +358,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);
+      com.google.bigtable.admin.v2.GetSnapshotRequest result =
+          new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -336,38 +369,39 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest 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.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;
@@ -375,7 +409,8 @@ 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_;
         onChanged();
@@ -406,17 +441,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -429,20 +466,24 @@ public Builder mergeFrom(
 
     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; @@ -451,22 +492,25 @@ 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 { @@ -474,67 +518,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -544,12 +601,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(); } @@ -558,27 +615,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; @@ -593,6 +650,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..e56c3bd5f1 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 7ec530eb6f..3c2bdabb55 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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;
@@ -27,39 +45,45 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -68,31 +92,33 @@ 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 { @@ -103,33 +129,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Table.View getView() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.valueOf(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; @@ -141,8 +177,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -162,8 +197,7 @@ 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; @@ -173,15 +207,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; @@ -203,97 +237,104 @@ 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]
@@ -301,33 +342,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -339,9 +379,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
@@ -360,7 +400,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);
+      com.google.bigtable.admin.v2.GetTableRequest result =
+          new com.google.bigtable.admin.v2.GetTableRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -371,38 +412,39 @@ public com.google.bigtable.admin.v2.GetTableRequest 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.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;
@@ -444,22 +486,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+
+                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) {
@@ -472,20 +517,24 @@ public Builder mergeFrom(
 
     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; @@ -494,22 +543,25 @@ 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 { @@ -517,60 +569,73 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -578,55 +643,69 @@ public Builder setNameBytes( 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.valueOf(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. */ @@ -634,29 +713,32 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; 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); } @@ -666,12 +748,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(); } @@ -680,27 +762,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; @@ -715,6 +797,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetTableRequest 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/GetTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java index a6f3f0e26d..7e88e78807 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java @@ -1,53 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java index 988fa6b822..c8c8349c61 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -14,15 +31,16 @@
  *
  * 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_ = "";
@@ -32,38 +50,42 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -72,30 +94,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 { @@ -106,12 +128,15 @@ public java.lang.String getName() { public static final int TABLE_NAME_FIELD_NUMBER = 2; 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 @@ -120,30 +145,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 { @@ -154,11 +179,15 @@ public java.lang.String getTableName() { 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 @@ -166,11 +195,15 @@ 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 @@ -178,11 +211,14 @@ 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() { @@ -192,11 +228,15 @@ 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 @@ -204,11 +244,15 @@ 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 @@ -216,11 +260,14 @@ 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() { @@ -230,11 +277,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int START_KEY_FIELD_NUMBER = 5; private volatile java.lang.Object startKey_; /** + * + * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; + * * @return The startKey. */ @java.lang.Override @@ -243,29 +293,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 { @@ -276,11 +326,14 @@ public java.lang.String getStartKey() { public static final int END_KEY_FIELD_NUMBER = 6; private volatile java.lang.Object endKey_; /** + * + * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; + * * @return The endKey. */ @java.lang.Override @@ -289,29 +342,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 { @@ -322,6 +375,8 @@ public java.lang.String getEndKey() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; 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
@@ -330,6 +385,7 @@ public java.lang.String getEndKey() {
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -338,6 +394,7 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,8 +406,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -388,12 +444,10 @@ 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_); @@ -402,8 +456,7 @@ 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; @@ -413,34 +466,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.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; } @@ -469,104 +515,110 @@ 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
@@ -577,33 +629,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -633,9 +684,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
@@ -654,7 +705,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);
+      com.google.bigtable.admin.v2.HotTablet result =
+          new com.google.bigtable.admin.v2.HotTablet(this);
       result.name_ = name_;
       result.tableName_ = tableName_;
       if (startTimeBuilder_ == null) {
@@ -678,38 +730,39 @@ public com.google.bigtable.admin.v2.HotTablet 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.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;
@@ -769,51 +822,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              tableName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              startKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 42
-            case 50: {
-              endKey_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 50
-            case 61: {
-              nodeCpuUsagePercent_ = input.readFloat();
-
-              break;
-            } // case 61
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                tableName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                startKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 42
+            case 50:
+              {
+                endKey_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 50
+            case 61:
+              {
+                nodeCpuUsagePercent_ = input.readFloat();
+
+                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) {
@@ -826,19 +883,21 @@ public Builder mergeFrom(
 
     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; @@ -847,21 +906,22 @@ 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 { @@ -869,57 +929,64 @@ 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; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -927,19 +994,21 @@ public Builder setNameBytes( 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; @@ -948,21 +1017,22 @@ 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 { @@ -970,57 +1040,64 @@ 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) = { ... } + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1028,24 +1105,35 @@ public Builder setTableNameBytes( 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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1056,11 +1144,14 @@ 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) { @@ -1076,14 +1167,16 @@ 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(); onChanged(); @@ -1094,17 +1187,20 @@ public Builder setStartTime( 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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -1116,11 +1212,14 @@ 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() { if (startTimeBuilder_ == null) { @@ -1134,48 +1233,59 @@ 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() { - + onChanged(); 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_; @@ -1183,24 +1293,35 @@ 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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1211,11 +1332,14 @@ 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) { @@ -1231,14 +1355,16 @@ 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(); onChanged(); @@ -1249,17 +1375,20 @@ public Builder setEndTime( 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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1271,11 +1400,14 @@ 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() { if (endTimeBuilder_ == null) { @@ -1289,48 +1421,59 @@ 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() { - + onChanged(); 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_; @@ -1338,18 +1481,20 @@ 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; @@ -1358,20 +1503,21 @@ 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 { @@ -1379,54 +1525,61 @@ public java.lang.String getStartKey() { } } /** + * + * *
      * 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) { + public Builder setStartKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + startKey_ = value; onChanged(); return this; } /** + * + * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; + * * @return This builder for chaining. */ public Builder clearStartKey() { - + startKey_ = getDefaultInstance().getStartKey(); onChanged(); 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) { + public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + startKey_ = value; onChanged(); return this; @@ -1434,18 +1587,20 @@ public Builder setStartKeyBytes( 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; @@ -1454,20 +1609,21 @@ 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 { @@ -1475,61 +1631,70 @@ public java.lang.String getEndKey() { } } /** + * + * *
      * 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) { + public Builder setEndKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + endKey_ = value; onChanged(); return this; } /** + * + * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; + * * @return This builder for chaining. */ public Builder clearEndKey() { - + endKey_ = getDefaultInstance().getEndKey(); onChanged(); 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) { + public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + endKey_ = value; onChanged(); 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
@@ -1538,6 +1703,7 @@ public Builder setEndKeyBytes(
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -1545,6 +1711,8 @@ 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
@@ -1553,16 +1721,19 @@ 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. */ public Builder setNodeCpuUsagePercent(float value) { - + nodeCpuUsagePercent_ = value; onChanged(); 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
@@ -1571,17 +1742,18 @@ 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() { - + nodeCpuUsagePercent_ = 0F; 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); } @@ -1591,12 +1763,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(); } @@ -1605,27 +1777,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; @@ -1640,6 +1812,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.HotTablet 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/HotTabletOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java index 4e2f9eb789..1f10c38afe 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java @@ -1,151 +1,211 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -154,6 +214,7 @@ public interface HotTabletOrBuilder extends
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The nodeCpuUsagePercent. */ float getNodeCpuUsagePercent(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index 5d4b44d843..67b76dd0c7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -13,15 +30,16 @@
  *
  * 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_ = "";
@@ -31,51 +49,54 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Instance();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -84,6 +105,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -93,6 +116,8 @@ public enum State
      */
     READY(1),
     /**
+     *
+     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -105,6 +130,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -113,6 +140,8 @@ public enum State */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** + * + * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -122,6 +151,8 @@ public enum State
      */
     public static final int READY_VALUE = 1;
     /**
+     *
+     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -131,7 +162,6 @@ public enum State
      */
     public static final int CREATING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -156,49 +186,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);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    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() {
       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;
@@ -216,15 +246,18 @@ 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
@@ -235,6 +268,8 @@ public enum Type
      */
     TYPE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -244,6 +279,8 @@ public enum Type
      */
     PRODUCTION(1),
     /**
+     *
+     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -256,6 +293,8 @@ public enum Type
     ;
 
     /**
+     *
+     *
      * 
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -266,6 +305,8 @@ public enum Type
      */
     public static final int TYPE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -275,6 +316,8 @@ public enum Type
      */
     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.
@@ -284,7 +327,6 @@ public enum Type
      */
     public static final int DEVELOPMENT_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -309,49 +351,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);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    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() {
       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;
@@ -372,12 +414,15 @@ private Type(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   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 @@ -386,30 +431,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 { @@ -420,6 +465,8 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; 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
@@ -427,6 +474,7 @@ public java.lang.String getName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The displayName. */ @java.lang.Override @@ -435,14 +483,15 @@ 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
@@ -450,16 +499,15 @@ 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 { @@ -470,78 +518,95 @@ public java.lang.String getDisplayName() { public static final int STATE_FIELD_NUMBER = 3; private int state_; /** + * + * *
    * (`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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Instance.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.valueOf(state_); + com.google.bigtable.admin.v2.Instance.State result = + com.google.bigtable.admin.v2.Instance.State.valueOf(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Instance.Type getType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.valueOf(type_); + com.google.bigtable.admin.v2.Instance.Type result = + com.google.bigtable.admin.v2.Instance.Type.valueOf(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< - 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, - ""); + 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, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField 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_; } @@ -550,6 +615,8 @@ 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
@@ -565,22 +632,22 @@ 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
@@ -597,11 +664,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
   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
@@ -618,16 +686,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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
@@ -644,12 +712,11 @@ public java.lang.String getLabelsOrDefault(
    * 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();
     }
@@ -659,13 +726,17 @@ public java.lang.String getLabelsOrThrow(
   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 @@ -673,13 +744,17 @@ 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 @@ -687,13 +762,16 @@ 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() { @@ -703,11 +781,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; 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 @@ -715,11 +796,14 @@ 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 @@ -728,6 +812,7 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -739,8 +824,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -753,12 +837,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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()); } @@ -781,30 +861,26 @@ 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; @@ -814,30 +890,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.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; @@ -868,105 +939,110 @@ 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.
@@ -976,55 +1052,52 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1049,9 +1122,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
@@ -1070,7 +1143,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);
+      com.google.bigtable.admin.v2.Instance result =
+          new com.google.bigtable.admin.v2.Instance(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       result.name_ = name_;
@@ -1097,38 +1171,39 @@ public com.google.bigtable.admin.v2.Instance 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.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;
@@ -1151,8 +1226,7 @@ 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());
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
       }
@@ -1185,52 +1259,60 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              displayName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 18
-            case 24: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 24
-            case 32: {
-              type_ = input.readEnum();
-
-              break;
-            } // case 32
-            case 42: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 42
-            case 58: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 58
-            case 64: {
-              satisfiesPzs_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 64
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                displayName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 18
+            case 24:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                type_ = input.readEnum();
+
+                break;
+              } // case 32
+            case 42:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                break;
+              } // case 42
+            case 58:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 58
+            case 64:
+              {
+                satisfiesPzs_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -1240,23 +1322,26 @@ 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; @@ -1265,21 +1350,22 @@ 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 { @@ -1287,57 +1373,64 @@ 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; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1345,6 +1438,8 @@ public Builder setNameBytes( 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
@@ -1352,13 +1447,13 @@ public Builder setNameBytes(
      * 
* * 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; @@ -1367,6 +1462,8 @@ 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
@@ -1374,15 +1471,14 @@ 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 { @@ -1390,6 +1486,8 @@ 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
@@ -1397,20 +1495,22 @@ public java.lang.String getDisplayName() {
      * 
* * 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) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; 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
@@ -1418,15 +1518,18 @@ public Builder setDisplayName(
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); 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
@@ -1434,16 +1537,16 @@ 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) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -1451,55 +1554,69 @@ public Builder setDisplayNameBytes( 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.valueOf(state_); + com.google.bigtable.admin.v2.Instance.State result = + com.google.bigtable.admin.v2.Instance.State.valueOf(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. */ @@ -1507,22 +1624,25 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -1530,51 +1650,65 @@ 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. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.valueOf(type_); + com.google.bigtable.admin.v2.Instance.Type result = + com.google.bigtable.admin.v2.Instance.Type.valueOf(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. */ @@ -1582,42 +1716,44 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); 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() { - + type_ = 0; onChanged(); return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField 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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -1629,6 +1765,8 @@ 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
@@ -1644,22 +1782,22 @@ 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
@@ -1676,11 +1814,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     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
@@ -1697,16 +1836,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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
@@ -1723,12 +1863,11 @@ public java.lang.String getLabelsOrDefault(
      * 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();
       }
@@ -1736,11 +1875,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      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
@@ -1756,23 +1896,21 @@ 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1788,19 +1926,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1816,55 +1955,71 @@ public Builder putLabels(
      *
      * 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);
       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 createTimeBuilder_ != null || 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. */ 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) { @@ -1880,16 +2035,19 @@ 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(); onChanged(); @@ -1900,19 +2058,23 @@ public Builder setCreateTime( 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 (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1924,13 +2086,17 @@ 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() { if (createTimeBuilder_ == null) { @@ -1944,66 +2110,85 @@ 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() { - + onChanged(); 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 @@ -2011,11 +2196,14 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The satisfiesPzs. */ @java.lang.Override @@ -2023,11 +2211,14 @@ 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. */ @@ -2038,11 +2229,14 @@ 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() { @@ -2051,9 +2245,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); } @@ -2063,12 +2257,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(); } @@ -2077,27 +2271,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; @@ -2112,6 +2306,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Instance 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/InstanceName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java similarity index 84% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java index fb2ca1d2af..103b7d8457 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -37,10 +60,13 @@ public interface InstanceOrBuilder extends
    * 
* * 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
@@ -48,52 +74,66 @@ public interface InstanceOrBuilder extends
    * 
* * 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
@@ -111,6 +151,8 @@ public interface InstanceOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -126,15 +168,13 @@ public interface InstanceOrBuilder extends
    *
    * 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
@@ -150,9 +190,10 @@ boolean containsLabels(
    *
    * 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
@@ -170,11 +211,13 @@ boolean containsLabels(
    */
 
   /* 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
@@ -190,58 +233,73 @@ 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/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 new file mode 100644 index 0000000000..2b73ddde21 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -0,0 +1,314 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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\"" + + "\306\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\031\n\014display_na" + + "me\030\002 \001(\tB\003\340A\002\0227\n\005state\030\003 \001(\0162(.google.bi" + + "gtable.admin.v2.Instance.State\0225\n\004type\030\004" + + " \001(\0162\'.google.bigtable.admin.v2.Instance" + + ".Type\022>\n\006labels\030\005 \003(\0132..google.bigtable." + + "admin.v2.Instance.LabelsEntry\0224\n\013create_" + + "time\030\007 \001(\0132\032.google.protobuf.TimestampB\003" + + "\340A\003\022\037\n\rsatisfies_pzs\030\010 \001(\010B\003\340A\003H\000\210\001\001\032-\n\013" + + "LabelsEntry\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\005REA" + + "DY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UNSPE" + + "CIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPMENT\020" + + "\002:S\352AP\n%bigtableadmin.googleapis.com/Ins" + + "tance\022\'projects/{project}/instances/{ins" + + "tance}B\020\n\016_satisfies_pzs\"_\n\022AutoscalingT" + + "argets\022\037\n\027cpu_utilization_percent\030\002 \001(\005\022" + + "(\n storage_utilization_gib_per_node\030\003 \001(" + + "\005\"O\n\021AutoscalingLimits\022\034\n\017min_serve_node" + + "s\030\001 \001(\005B\003\340A\002\022\034\n\017max_serve_nodes\030\002 \001(\005B\003\340" + + "A\002\"\321\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022;\n\010location" + + "\030\002 \001(\tB)\340A\005\372A#\n!locations.googleapis.com" + + "/Location\022;\n\005state\030\003 \001(\0162\'.google.bigtab" + + "le.admin.v2.Cluster.StateB\003\340A\003\022\023\n\013serve_" + + "nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001(\0132/.go" + + "ogle.bigtable.admin.v2.Cluster.ClusterCo" + + "nfigH\000\022H\n\024default_storage_type\030\005 \001(\0162%.g" + + "oogle.bigtable.admin.v2.StorageTypeB\003\340A\005" + + "\022R\n\021encryption_config\030\006 \001(\01322.google.big" + + "table.admin.v2.Cluster.EncryptionConfigB" + + "\003\340A\005\032\270\001\n\030ClusterAutoscalingConfig\022L\n\022aut" + + "oscaling_limits\030\001 \001(\0132+.google.bigtable." + + "admin.v2.AutoscalingLimitsB\003\340A\002\022N\n\023autos" + + "caling_targets\030\002 \001(\0132,.google.bigtable.a" + + "dmin.v2.AutoscalingTargetsB\003\340A\002\032o\n\rClust" + + "erConfig\022^\n\032cluster_autoscaling_config\030\001" + + " \001(\0132:.google.bigtable.admin.v2.Cluster." + + "ClusterAutoscalingConfig\032P\n\020EncryptionCo" + + "nfig\022<\n\014kms_key_name\030\001 \001(\tB&\372A#\n!cloudkm" + + "s.googleapis.com/CryptoKey\"Q\n\005State\022\023\n\017S" + + "TATE_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$bigt" + + "ableadmin.googleapis.com/Cluster\022:projec" + + "ts/{project}/instances/{instance}/cluste" + + "rs/{cluster}B\010\n\006config\"\210\004\n\nAppProfile\022\014\n" + + "\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013description" + + "\030\003 \001(\t\022g\n\035multi_cluster_routing_use_any\030" + + "\005 \001(\0132>.google.bigtable.admin.v2.AppProf" + + "ile.MultiClusterRoutingUseAnyH\000\022[\n\026singl" + + "e_cluster_routing\030\006 \001(\01329.google.bigtabl" + + "e.admin.v2.AppProfile.SingleClusterRouti" + + "ngH\000\0320\n\031MultiClusterRoutingUseAny\022\023\n\013clu" + + "ster_ids\030\001 \003(\t\032N\n\024SingleClusterRouting\022\022" + + "\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_transactiona" + + "l_writes\030\002 \001(\010:o\352Al\n\'bigtableadmin.googl" + + "eapis.com/AppProfile\022Aprojects/{project}" + + "/instances/{instance}/appProfiles/{app_p" + + "rofile}B\020\n\016routing_policy\"\210\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\0223\n\nst" + + "art_time\030\003 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\004 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\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\003\340A\003:\177\352A|\n&bigtableadmin.googleap" + + "is.com/HotTablet\022Rprojects/{project}/ins" + + "tances/{instance}/clusters/{cluster}/hot" + + "Tablets/{hot_tablet}B\320\002\n\034com.google.bigt" + + "able.admin.v2B\rInstanceProtoP\001Z=google.g" + + "olang.org/genproto/googleapis/bigtable/a" + + "dmin/v2;admin\252\002\036Google.Cloud.Bigtable.Ad" + + "min.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2\352" + + "\002\"Google::Cloud::Bigtable::Admin::V2\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 271272f22d..492fa44099 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,32 +44,35 @@ private ListAppProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAppProfilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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
@@ -60,7 +81,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -69,14 +93,15 @@ 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
@@ -85,17 +110,18 @@ 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 { @@ -106,6 +132,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_; /** + * + * *
    * Maximum number of results per page.
    * A page_size of zero lets the server choose the number of items to return.
@@ -117,6 +145,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -127,11 +156,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -140,29 +172,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 { @@ -171,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -209,8 +241,7 @@ 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; @@ -220,19 +251,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.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; } @@ -256,129 +285,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -392,9 +427,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 @@ -413,7 +448,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); + com.google.bigtable.admin.v2.ListAppProfilesRequest result = + new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -425,38 +461,39 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest 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.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; @@ -464,7 +501,8 @@ 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_; onChanged(); @@ -502,27 +540,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - case 24: { - pageSize_ = input.readInt32(); - - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + break; + } // case 18 + case 24: + { + pageSize_ = input.readInt32(); + + 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) { @@ -535,6 +577,8 @@ public Builder mergeFrom( 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
@@ -543,14 +587,16 @@ 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; @@ -559,6 +605,8 @@ 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
@@ -567,16 +615,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. */ - 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 { @@ -584,6 +633,8 @@ 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
@@ -592,21 +643,25 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -615,16 +670,21 @@ public Builder setParent(
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -633,24 +693,28 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -662,6 +726,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 3; + * * @return The pageSize. */ @java.lang.Override @@ -669,6 +734,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -680,16 +747,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -701,10 +771,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -712,18 +783,20 @@ 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; @@ -732,20 +805,21 @@ 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 { @@ -753,61 +827,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -817,12 +898,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(); } @@ -831,27 +912,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; @@ -866,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesRequest 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/ListAppProfilesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index b484d009c4..20f3acd123 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -16,11 +34,16 @@ public interface ListAppProfilesRequestOrBuilder extends
    * 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
@@ -29,13 +52,17 @@ public interface ListAppProfilesRequestOrBuilder extends
    * 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.
    * A page_size of zero lets the server choose the number of items to return.
@@ -47,27 +74,33 @@ public interface ListAppProfilesRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java index 7d0a706ba5..42ce1fdf18 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -27,32 +45,35 @@ private ListAppProfilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List appProfiles_; /** + * + * *
    * The list of requested app profiles.
    * 
@@ -64,6 +85,8 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -71,11 +94,13 @@ 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.
    * 
@@ -87,6 +112,8 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -98,6 +125,8 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** + * + * *
    * The list of requested app profiles.
    * 
@@ -105,14 +134,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; 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
@@ -120,6 +150,7 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +159,15 @@ 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
@@ -143,16 +175,15 @@ 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 { @@ -163,6 +194,8 @@ public java.lang.String getNextPageToken() { public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList failedLocations_; /** + * + * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -171,13 +204,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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.
@@ -186,12 +221,15 @@ public java.lang.String getNextPageToken() {
    * 
* * 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.
@@ -200,6 +238,7 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 3; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -207,6 +246,8 @@ 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.
@@ -215,15 +256,16 @@ 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; @@ -235,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -256,8 +297,7 @@ 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_); @@ -278,19 +318,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.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; } @@ -318,129 +356,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +503,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_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 @@ -480,7 +524,8 @@ 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); int from_bitField0_ = bitField0_; if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -505,38 +550,39 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse 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.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; @@ -544,7 +590,8 @@ 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()) { @@ -563,9 +610,10 @@ 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_); } @@ -611,36 +659,39 @@ 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(); + 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(); - 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: + 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) { @@ -650,21 +701,29 @@ 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.
      * 
@@ -679,6 +738,8 @@ public java.util.List getAppProfilesLis } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -693,6 +754,8 @@ public int getAppProfilesCount() { } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -707,14 +770,15 @@ 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(); @@ -728,6 +792,8 @@ public Builder setAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -746,6 +812,8 @@ public Builder setAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -766,14 +834,15 @@ 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(); @@ -787,14 +856,15 @@ public Builder addAppProfiles( 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()); @@ -805,6 +875,8 @@ public Builder addAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -823,6 +895,8 @@ public Builder addAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -833,8 +907,7 @@ 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); @@ -842,6 +915,8 @@ public Builder addAllAppProfiles( return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -859,6 +934,8 @@ public Builder clearAppProfiles() { return this; } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -876,39 +953,44 @@ 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 { @@ -916,6 +998,8 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** + * + * *
      * The list of requested app profiles.
      * 
@@ -923,42 +1007,48 @@ 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_; @@ -966,6 +1056,8 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder( 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
@@ -973,13 +1065,13 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(
      * 
* * 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; @@ -988,6 +1080,8 @@ 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
@@ -995,15 +1089,14 @@ 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 { @@ -1011,6 +1104,8 @@ 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
@@ -1018,20 +1113,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1039,15 +1136,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1055,29 +1155,33 @@ 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList failedLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1086,13 +1190,15 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1101,12 +1207,15 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * 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.
@@ -1115,6 +1224,7 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 3; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1122,6 +1232,8 @@ 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.
@@ -1130,14 +1242,16 @@ 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.
@@ -1146,21 +1260,23 @@ public java.lang.String getFailedLocations(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) { + public Builder setFailedLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1169,20 +1285,22 @@ public Builder setFailedLocations(
      * 
* * repeated string failed_locations = 3; + * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations( - java.lang.String value) { + public Builder addFailedLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1191,18 +1309,19 @@ public Builder addFailedLocations(
      * 
* * 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_); onChanged(); return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1211,6 +1330,7 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 3; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1220,6 +1340,8 @@ public Builder clearFailedLocations() { return this; } /** + * + * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1228,23 +1350,23 @@ 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) { + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(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); } @@ -1254,12 +1376,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(); } @@ -1268,27 +1390,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; @@ -1303,6 +1425,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesResponse 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/ListAppProfilesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java index a3a287c165..b4a022e5af 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListAppProfilesResponseOrBuilder extends */ com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index); /** + * + * *
    * The list of requested app profiles.
    * 
@@ -33,25 +54,30 @@ public interface ListAppProfilesResponseOrBuilder extends */ 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
@@ -59,10 +85,13 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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
@@ -70,12 +99,14 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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.
@@ -84,11 +115,13 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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.
@@ -97,10 +130,13 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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.
@@ -109,11 +145,14 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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.
@@ -122,9 +161,9 @@ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java index 9e464c3655..f36e324d1c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
  * 
* * 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_ = ""; @@ -28,32 +46,35 @@ private ListBackupsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -61,7 +82,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -70,14 +94,15 @@ 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}`.
@@ -85,17 +110,18 @@ 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 { @@ -106,6 +132,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 2; 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,
@@ -138,6 +166,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 2; + * * @return The filter. */ @java.lang.Override @@ -146,14 +175,15 @@ 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,
@@ -186,16 +216,15 @@ 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 { @@ -206,6 +235,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 3; 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -227,6 +258,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 3; + * * @return The orderBy. */ @java.lang.Override @@ -235,14 +267,15 @@ 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -264,16 +297,15 @@ 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 { @@ -284,12 +316,15 @@ public java.lang.String getOrderBy() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; 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 @@ -300,6 +335,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; 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] from a
@@ -308,6 +345,7 @@ public int getPageSize() {
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -316,14 +354,15 @@ 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] from a
@@ -332,16 +371,15 @@ 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 { @@ -350,6 +388,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -361,8 +400,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -397,8 +435,7 @@ 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_); @@ -411,23 +448,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.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; } @@ -454,130 +487,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -595,9 +634,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 @@ -616,7 +655,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); + com.google.bigtable.admin.v2.ListBackupsRequest result = + new com.google.bigtable.admin.v2.ListBackupsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.orderBy_ = orderBy_; @@ -630,38 +670,39 @@ public com.google.bigtable.admin.v2.ListBackupsRequest 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.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; @@ -669,7 +710,8 @@ 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_; onChanged(); @@ -715,37 +757,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -758,6 +806,8 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -765,14 +815,16 @@ 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; @@ -781,6 +833,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -788,16 +842,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. */ - 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 { @@ -805,6 +860,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -812,21 +869,25 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -834,16 +895,21 @@ public Builder setParent(
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -851,17 +917,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,6 +937,8 @@ public Builder setParentBytes( 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,
@@ -901,13 +971,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -916,6 +986,8 @@ 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,
@@ -948,15 +1020,14 @@ 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 { @@ -964,6 +1035,8 @@ 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,
@@ -996,20 +1069,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1042,15 +1117,18 @@ public Builder setFilter(
      * 
* * string filter = 2; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1083,16 +1161,16 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; @@ -1100,6 +1178,8 @@ public Builder setFilterBytes( 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1121,13 +1201,13 @@ public Builder setFilterBytes(
      * 
* * 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; @@ -1136,6 +1216,8 @@ 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1157,15 +1239,14 @@ 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 { @@ -1173,6 +1254,8 @@ 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1194,20 +1277,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 3; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1229,15 +1314,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 3; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -1259,29 +1347,32 @@ 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); 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 @@ -1289,32 +1380,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -1322,6 +1419,8 @@ 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] from a
@@ -1330,13 +1429,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; @@ -1345,6 +1444,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1353,15 +1454,14 @@ 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 { @@ -1369,6 +1469,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1377,20 +1479,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1399,15 +1503,18 @@ public Builder setPageToken(
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token] from a
@@ -1416,23 +1523,23 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -1442,12 +1549,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(); } @@ -1456,27 +1563,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; @@ -1491,6 +1598,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsRequest 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/ListBackupsRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java similarity index 86% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java index 56ba0716a5..c581ddaefb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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}`.
@@ -15,11 +33,16 @@ public interface ListBackupsRequestOrBuilder extends
    * 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}`.
@@ -27,13 +50,17 @@ public interface ListBackupsRequestOrBuilder extends
    * 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,
@@ -66,10 +93,13 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * 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,
@@ -102,12 +132,14 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -129,10 +161,13 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * 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 [Backup][google.bigtable.admin.v2.Backup]. The full
@@ -154,23 +189,28 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * 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] from a
@@ -179,10 +219,13 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * 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] from a
@@ -191,8 +234,8 @@ public interface ListBackupsRequestOrBuilder extends
    * 
* * string page_token = 5; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java index a4eab70495..0e026a369c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The response for [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
  * 
* * 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_ = ""; @@ -26,32 +44,35 @@ private ListBackupsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListBackupsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List backups_; /** + * + * *
    * The list of matching backups.
    * 
@@ -63,6 +84,8 @@ public java.util.List getBackupsList() { return backups_; } /** + * + * *
    * The list of matching backups.
    * 
@@ -70,11 +93,13 @@ 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.
    * 
@@ -86,6 +111,8 @@ public int getBackupsCount() { return backups_.size(); } /** + * + * *
    * The list of matching backups.
    * 
@@ -97,6 +124,8 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** + * + * *
    * The list of matching backups.
    * 
@@ -104,14 +133,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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -119,6 +149,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -127,14 +158,15 @@ 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 to fetch more
@@ -142,16 +174,15 @@ 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 { @@ -160,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,8 +203,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -189,8 +220,7 @@ 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_); @@ -203,17 +233,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.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; } @@ -236,130 +265,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +411,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 @@ -397,7 +432,8 @@ 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); int from_bitField0_ = bitField0_; if (backupsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -417,38 +453,39 @@ public com.google.bigtable.admin.v2.ListBackupsResponse 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.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; @@ -456,7 +493,8 @@ 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()) { @@ -475,9 +513,10 @@ 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_); } @@ -513,30 +552,32 @@ 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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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,21 +587,28 @@ 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.
      * 
@@ -575,6 +623,8 @@ public java.util.List getBackupsList() { } } /** + * + * *
      * The list of matching backups.
      * 
@@ -589,6 +639,8 @@ public int getBackupsCount() { } } /** + * + * *
      * The list of matching backups.
      * 
@@ -603,14 +655,15 @@ 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(); @@ -624,6 +677,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -642,6 +697,8 @@ public Builder setBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -662,14 +719,15 @@ 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(); @@ -683,14 +741,15 @@ public Builder addBackups( 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()); @@ -701,6 +760,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -719,6 +780,8 @@ public Builder addBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -729,8 +792,7 @@ 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); @@ -738,6 +800,8 @@ public Builder addAllBackups( return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -755,6 +819,8 @@ public Builder clearBackups() { return this; } /** + * + * *
      * The list of matching backups.
      * 
@@ -772,39 +838,44 @@ 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 { @@ -812,6 +883,8 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( } } /** + * + * *
      * The list of matching backups.
      * 
@@ -819,42 +892,47 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( * 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_; @@ -862,6 +940,8 @@ public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -869,13 +949,13 @@ public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder(
      * 
* * 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; @@ -884,6 +964,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -891,15 +973,14 @@ 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 { @@ -907,6 +988,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -914,20 +997,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -935,15 +1020,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call to fetch more
@@ -951,23 +1039,23 @@ 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -977,12 +1065,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(); } @@ -991,27 +1079,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; @@ -1026,6 +1114,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsResponse 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/ListBackupsResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java index 12037aeced..99a982ec0d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListBackupsResponseOrBuilder extends */ com.google.bigtable.admin.v2.Backup getBackups(int index); /** + * + * *
    * The list of matching backups.
    * 
@@ -33,25 +54,29 @@ public interface ListBackupsResponseOrBuilder extends */ 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 to fetch more
@@ -59,10 +84,13 @@ com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(
    * 
* * 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 to fetch more
@@ -70,8 +98,8 @@ com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java index d0fec1c2e1..f131727426 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,32 +44,35 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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}`.
@@ -59,7 +80,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -68,14 +92,15 @@ 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}`.
@@ -83,17 +108,18 @@ 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 { @@ -104,11 +130,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -117,29 +146,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 { @@ -148,6 +177,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -190,17 +219,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.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; } @@ -221,130 +249,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -356,9 +390,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 @@ -377,7 +411,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); + com.google.bigtable.admin.v2.ListClustersRequest result = + new com.google.bigtable.admin.v2.ListClustersRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; onBuilt(); @@ -388,38 +423,39 @@ public com.google.bigtable.admin.v2.ListClustersRequest 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.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; @@ -427,7 +463,8 @@ 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_; onChanged(); @@ -462,22 +499,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -490,6 +530,8 @@ public Builder mergeFrom( 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}`.
@@ -497,14 +539,16 @@ 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; @@ -513,6 +557,8 @@ 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}`.
@@ -520,16 +566,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. */ - 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 { @@ -537,6 +584,8 @@ 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}`.
@@ -544,21 +593,25 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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}`.
@@ -566,16 +619,21 @@ public Builder setParent(
      * 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() { - + parent_ = getDefaultInstance().getParent(); 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}`.
@@ -583,17 +641,19 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -601,18 +661,20 @@ public Builder setParentBytes( 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; @@ -621,20 +683,21 @@ 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 { @@ -642,61 +705,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -706,12 +776,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(); } @@ -720,27 +790,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; @@ -755,6 +825,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersRequest 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/ListClustersRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index 3e27aa1185..897c16d1c5 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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}`.
@@ -15,11 +33,16 @@ public interface ListClustersRequestOrBuilder extends
    * 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}`.
@@ -27,29 +50,36 @@ public interface ListClustersRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java index 0cfc08e1bb..4bb6580ce2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -27,32 +45,35 @@ private ListClustersResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListClustersResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List clusters_; /** + * + * *
    * The list of requested clusters.
    * 
@@ -64,6 +85,8 @@ public java.util.List getClustersList() { return clusters_; } /** + * + * *
    * The list of requested clusters.
    * 
@@ -71,11 +94,13 @@ 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.
    * 
@@ -87,6 +112,8 @@ public int getClustersCount() { return clusters_.size(); } /** + * + * *
    * The list of requested clusters.
    * 
@@ -98,6 +125,8 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** + * + * *
    * The list of requested clusters.
    * 
@@ -105,14 +134,15 @@ 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; private com.google.protobuf.LazyStringList failedLocations_; /** + * + * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -122,13 +152,15 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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.
@@ -138,12 +170,15 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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.
@@ -153,6 +188,7 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -160,6 +196,8 @@ 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.
@@ -169,22 +207,25 @@ 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -193,29 +234,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 { @@ -224,6 +265,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,8 +277,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -256,8 +297,7 @@ 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; @@ -278,19 +318,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.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; } @@ -318,129 +356,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -459,9 +503,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_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 @@ -480,7 +524,8 @@ 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); int from_bitField0_ = bitField0_; if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -505,38 +550,39 @@ public com.google.bigtable.admin.v2.ListClustersResponse 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.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; @@ -544,7 +590,8 @@ 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()) { @@ -563,9 +610,10 @@ 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_); } @@ -611,36 +659,39 @@ 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(); + 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(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -650,21 +701,28 @@ 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.
      * 
@@ -679,6 +737,8 @@ public java.util.List getClustersList() { } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -693,6 +753,8 @@ public int getClustersCount() { } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -707,14 +769,15 @@ 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(); @@ -728,6 +791,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -746,6 +811,8 @@ public Builder setClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -766,14 +833,15 @@ 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(); @@ -787,14 +855,15 @@ public Builder addClusters( 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()); @@ -805,6 +874,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -823,6 +894,8 @@ public Builder addClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -833,8 +906,7 @@ 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); @@ -842,6 +914,8 @@ public Builder addAllClusters( return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -859,6 +933,8 @@ public Builder clearClusters() { return this; } /** + * + * *
      * The list of requested clusters.
      * 
@@ -876,39 +952,44 @@ 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 { @@ -916,6 +997,8 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( } } /** + * + * *
      * The list of requested clusters.
      * 
@@ -923,55 +1006,64 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( * 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_; } - private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList failedLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -981,13 +1073,15 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -997,12 +1091,15 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * 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.
@@ -1012,6 +1109,7 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1019,6 +1117,8 @@ 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.
@@ -1028,14 +1128,16 @@ 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.
@@ -1045,21 +1147,23 @@ public java.lang.String getFailedLocations(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) { + public Builder setFailedLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1069,20 +1173,22 @@ public Builder setFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations( - java.lang.String value) { + public Builder addFailedLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1092,18 +1198,19 @@ public Builder addFailedLocations(
      * 
* * 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_); onChanged(); return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1113,6 +1220,7 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1122,6 +1230,8 @@ public Builder clearFailedLocations() { return this; } /** + * + * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1131,15 +1241,15 @@ 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) { + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); @@ -1148,18 +1258,20 @@ public Builder addFailedLocationsBytes( 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; @@ -1168,20 +1280,21 @@ 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 { @@ -1189,61 +1302,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1253,12 +1373,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(); } @@ -1267,27 +1387,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; @@ -1302,6 +1422,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersResponse 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/ListClustersResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java index a2f260de68..9ca59de913 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListClustersResponseOrBuilder extends */ com.google.bigtable.admin.v2.Cluster getClusters(int index); /** + * + * *
    * The list of requested clusters.
    * 
@@ -33,25 +54,30 @@ public interface ListClustersResponseOrBuilder extends */ 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.
@@ -61,11 +87,13 @@ com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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.
@@ -75,10 +103,13 @@ com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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.
@@ -88,11 +119,14 @@ com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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.
@@ -102,29 +136,34 @@ com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java index 555a945575..103fa0b8c7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,39 +44,45 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -67,31 +91,33 @@ 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 { @@ -102,6 +128,8 @@ public java.lang.String getParent() { 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
@@ -112,6 +140,7 @@ public java.lang.String getParent() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -119,6 +148,8 @@ 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
@@ -129,6 +160,7 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -136,6 +168,8 @@ 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
@@ -155,11 +189,14 @@ 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 @@ -167,11 +204,14 @@ 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 @@ -179,6 +219,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The end time to list hot tablets.
    * 
@@ -193,6 +235,8 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_; /** + * + * *
    * Maximum number of results per page.
    * A page_size that is empty or zero lets the server choose the number of
@@ -204,6 +248,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -214,11 +259,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 5; 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 @@ -227,29 +275,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 { @@ -258,6 +306,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,8 +318,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -299,16 +347,13 @@ 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_); @@ -321,29 +366,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.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; } @@ -375,129 +416,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +570,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 @@ -544,7 +591,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); + com.google.bigtable.admin.v2.ListHotTabletsRequest result = + new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); result.parent_ = parent_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -566,38 +614,39 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest 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.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; @@ -605,7 +654,8 @@ 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_; onChanged(); @@ -649,41 +699,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - pageSize_ = input.readInt32(); - - break; - } // case 32 - case 42: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + pageSize_ = input.readInt32(); + + break; + } // case 32 + case 42: + { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -696,20 +748,24 @@ public Builder mergeFrom( 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; @@ -718,22 +774,25 @@ 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 { @@ -741,60 +800,73 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -802,8 +874,13 @@ public Builder setParentBytes( 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
@@ -814,12 +891,15 @@ public Builder setParentBytes(
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || 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
@@ -830,6 +910,7 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -840,6 +921,8 @@ 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
@@ -865,6 +948,8 @@ 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
@@ -876,8 +961,7 @@ 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();
         onChanged();
@@ -888,6 +972,8 @@ public Builder setStartTime(
       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
@@ -903,7 +989,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
         if (startTime_ != null) {
           startTime_ =
-            com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
         } else {
           startTime_ = value;
         }
@@ -915,6 +1001,8 @@ 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
@@ -938,6 +1026,8 @@ 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
@@ -950,11 +1040,13 @@ public Builder clearStartTime() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-      
+
       onChanged();
       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
@@ -970,11 +1062,12 @@ 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
@@ -987,14 +1080,17 @@ 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_;
@@ -1002,24 +1098,33 @@ 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1030,6 +1135,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1050,14 +1157,15 @@ 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(); onChanged(); @@ -1068,6 +1176,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1078,7 +1188,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -1090,6 +1200,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1108,6 +1220,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1115,11 +1229,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The end time to list hot tablets.
      * 
@@ -1130,11 +1246,12 @@ 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.
      * 
@@ -1142,21 +1259,26 @@ 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.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1168,6 +1290,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -1175,6 +1298,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1186,16 +1311,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results per page.
      * A page_size that is empty or zero lets the server choose the number of
@@ -1207,10 +1335,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1218,18 +1347,20 @@ 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; @@ -1238,20 +1369,21 @@ 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 { @@ -1259,61 +1391,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -1323,12 +1462,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(); } @@ -1337,27 +1476,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; @@ -1372,6 +1511,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsRequest 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/ListHotTabletsRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java similarity index 78% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java index 5e46002d0f..faa5babf96 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -42,10 +69,13 @@ public interface ListHotTabletsRequestOrBuilder extends
    * 
* * .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
@@ -56,10 +86,13 @@ public interface ListHotTabletsRequestOrBuilder extends
    * 
* * .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
@@ -74,24 +107,32 @@ public interface ListHotTabletsRequestOrBuilder extends
   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.
    * 
@@ -101,6 +142,8 @@ public interface ListHotTabletsRequestOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Maximum number of results per page.
    * A page_size that is empty or zero lets the server choose the number of
@@ -112,27 +155,33 @@ public interface ListHotTabletsRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java index 337b9ec740..90ecf3ef7d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,32 +44,35 @@ private ListHotTabletsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListHotTabletsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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
@@ -67,6 +88,8 @@ 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
@@ -78,11 +101,13 @@ 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
@@ -98,6 +123,8 @@ 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
@@ -113,6 +140,8 @@ 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
@@ -124,14 +153,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;
   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
@@ -139,6 +169,7 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -147,14 +178,15 @@ 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
@@ -162,16 +194,15 @@ 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 { @@ -180,6 +211,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -191,8 +223,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -209,8 +240,7 @@ 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_); @@ -223,17 +253,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.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; } @@ -257,129 +286,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -396,9 +431,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 @@ -417,7 +452,8 @@ 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); int from_bitField0_ = bitField0_; if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -437,38 +473,39 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse 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.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; @@ -476,7 +513,8 @@ 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()) { @@ -495,9 +533,10 @@ 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_); } @@ -533,30 +572,32 @@ 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(); + 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(); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -566,21 +607,28 @@ 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
@@ -599,6 +647,8 @@ 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
@@ -617,6 +667,8 @@ 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
@@ -635,6 +687,8 @@ 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
@@ -645,8 +699,7 @@ 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();
@@ -660,6 +713,8 @@ 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
@@ -682,6 +737,8 @@ 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
@@ -706,6 +763,8 @@ 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
@@ -716,8 +775,7 @@ 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();
@@ -731,6 +789,8 @@ 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
@@ -741,8 +801,7 @@ public Builder addHotTablets(
      *
      * 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());
@@ -753,6 +812,8 @@ 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
@@ -775,6 +836,8 @@ 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
@@ -789,8 +852,7 @@ 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);
@@ -798,6 +860,8 @@ 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
@@ -819,6 +883,8 @@ 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
@@ -840,6 +906,8 @@ 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
@@ -850,11 +918,12 @@ 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
@@ -865,14 +934,16 @@ public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(
      *
      * 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
@@ -883,8 +954,8 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
      *
      * 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 {
@@ -892,6 +963,8 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * 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
@@ -903,10 +976,12 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
      * 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
@@ -917,12 +992,13 @@ 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
@@ -933,20 +1009,23 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
      *
      * 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_;
@@ -954,6 +1033,8 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
 
     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
@@ -961,13 +1042,13 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
      * 
* * 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; @@ -976,6 +1057,8 @@ 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
@@ -983,15 +1066,14 @@ 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 { @@ -999,6 +1081,8 @@ 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
@@ -1006,20 +1090,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -1027,15 +1113,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -1043,23 +1132,23 @@ 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1069,12 +1158,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(); } @@ -1083,27 +1172,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; @@ -1118,6 +1207,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsResponse 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/ListHotTabletsResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java index 8eed777c28..53027e622a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -18,9 +36,10 @@ public interface ListHotTabletsResponseOrBuilder extends
    *
    * 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
@@ -33,6 +52,8 @@ public interface ListHotTabletsResponseOrBuilder extends
    */
   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
@@ -45,6 +66,8 @@ public interface ListHotTabletsResponseOrBuilder extends
    */
   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
@@ -55,9 +78,11 @@ public interface ListHotTabletsResponseOrBuilder extends
    *
    * 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
@@ -68,10 +93,11 @@ public interface ListHotTabletsResponseOrBuilder extends
    *
    * 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
@@ -79,10 +105,13 @@ com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
    * 
* * 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
@@ -90,8 +119,8 @@ com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index 20252f84be..a64bd54432 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,38 +44,44 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -66,30 +90,32 @@ 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 { @@ -100,11 +126,14 @@ public java.lang.String getParent() { public static final int PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object pageToken_; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; + * * @return The pageToken. */ @java.lang.Override @@ -113,29 +142,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 { @@ -144,6 +173,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -155,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -186,17 +215,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.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; } @@ -218,129 +246,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +386,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 @@ -373,7 +407,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); + com.google.bigtable.admin.v2.ListInstancesRequest result = + new com.google.bigtable.admin.v2.ListInstancesRequest(this); result.parent_ = parent_; result.pageToken_ = pageToken_; onBuilt(); @@ -384,38 +419,39 @@ public com.google.bigtable.admin.v2.ListInstancesRequest 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.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; @@ -423,7 +459,8 @@ 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_; onChanged(); @@ -458,22 +495,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - pageToken_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + parent_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + pageToken_ = input.readStringRequireUtf8(); + + 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) { @@ -486,19 +526,23 @@ public Builder mergeFrom( 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; @@ -507,21 +551,24 @@ 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 { @@ -529,57 +576,70 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -587,18 +647,20 @@ public Builder setParentBytes( 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; @@ -607,20 +669,21 @@ 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 { @@ -628,61 +691,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -692,12 +762,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(); } @@ -706,27 +776,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; @@ -741,6 +811,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesRequest 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/ListInstancesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index 08b53b7850..c6646d25d2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java @@ -1,51 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java index 4d0935619b..d02e624e85 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -27,32 +45,35 @@ private ListInstancesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListInstancesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private java.util.List instances_; /** + * + * *
    * The list of requested instances.
    * 
@@ -64,6 +85,8 @@ public java.util.List getInstancesList() return instances_; } /** + * + * *
    * The list of requested instances.
    * 
@@ -71,11 +94,13 @@ 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.
    * 
@@ -87,6 +112,8 @@ public int getInstancesCount() { return instances_.size(); } /** + * + * *
    * The list of requested instances.
    * 
@@ -98,6 +125,8 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** + * + * *
    * The list of requested instances.
    * 
@@ -105,14 +134,15 @@ 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; private com.google.protobuf.LazyStringList failedLocations_; /** + * + * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -123,13 +153,15 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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.
@@ -140,12 +172,15 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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.
@@ -156,6 +191,7 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -163,6 +199,8 @@ 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.
@@ -173,22 +211,25 @@ 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; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; + * * @return The nextPageToken. */ @java.lang.Override @@ -197,29 +238,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 { @@ -228,6 +269,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -260,8 +301,7 @@ 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; @@ -282,19 +322,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.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; } @@ -322,129 +360,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,9 +507,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_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 @@ -484,7 +528,8 @@ 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); int from_bitField0_ = bitField0_; if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -509,38 +554,39 @@ public com.google.bigtable.admin.v2.ListInstancesResponse 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.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; @@ -548,7 +594,8 @@ 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()) { @@ -567,9 +614,10 @@ 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_); } @@ -615,36 +663,39 @@ 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(); + 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(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -654,21 +705,28 @@ 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.
      * 
@@ -683,6 +741,8 @@ public java.util.List getInstancesList() } } /** + * + * *
      * The list of requested instances.
      * 
@@ -697,6 +757,8 @@ public int getInstancesCount() { } } /** + * + * *
      * The list of requested instances.
      * 
@@ -711,14 +773,15 @@ 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(); @@ -732,6 +795,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -750,6 +815,8 @@ public Builder setInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -770,14 +837,15 @@ 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(); @@ -791,14 +859,15 @@ public Builder addInstances( 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()); @@ -809,6 +878,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -827,6 +898,8 @@ public Builder addInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -837,8 +910,7 @@ 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); @@ -846,6 +918,8 @@ public Builder addAllInstances( return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -863,6 +937,8 @@ public Builder clearInstances() { return this; } /** + * + * *
      * The list of requested instances.
      * 
@@ -880,39 +956,44 @@ 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 { @@ -920,6 +1001,8 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( } } /** + * + * *
      * The list of requested instances.
      * 
@@ -927,55 +1010,64 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( * 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_; } - private com.google.protobuf.LazyStringList failedLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList failedLocations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureFailedLocationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -986,13 +1078,15 @@ 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() { return failedLocations_.getUnmodifiableView(); } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1003,12 +1097,15 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * 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.
@@ -1019,6 +1116,7 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; + * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1026,6 +1124,8 @@ 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.
@@ -1036,14 +1136,16 @@ 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.
@@ -1054,21 +1156,23 @@ public java.lang.String getFailedLocations(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) { + public Builder setFailedLocations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1079,20 +1183,22 @@ public Builder setFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations( - java.lang.String value) { + public Builder addFailedLocations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureFailedLocationsIsMutable(); + throw new NullPointerException(); + } + ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1103,18 +1209,19 @@ public Builder addFailedLocations(
      * 
* * 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_); onChanged(); return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1125,6 +1232,7 @@ public Builder addAllFailedLocations(
      * 
* * repeated string failed_locations = 2; + * * @return This builder for chaining. */ public Builder clearFailedLocations() { @@ -1134,6 +1242,8 @@ public Builder clearFailedLocations() { return this; } /** + * + * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1144,15 +1254,15 @@ 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) { + public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); onChanged(); @@ -1161,18 +1271,20 @@ public Builder addFailedLocationsBytes( 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; @@ -1181,20 +1293,21 @@ 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 { @@ -1202,61 +1315,68 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -1266,12 +1386,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(); } @@ -1280,27 +1400,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; @@ -1315,6 +1435,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesResponse 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/ListInstancesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java index db6bb1f7e9..74165dcc31 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListInstancesResponseOrBuilder extends */ com.google.bigtable.admin.v2.Instance getInstances(int index); /** + * + * *
    * The list of requested instances.
    * 
@@ -33,25 +54,30 @@ public interface ListInstancesResponseOrBuilder extends */ 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.
@@ -62,11 +88,13 @@ com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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.
@@ -77,10 +105,13 @@ com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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.
@@ -91,11 +122,14 @@ com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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.
@@ -106,29 +140,34 @@ com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java index 1f6615ad58..3691b0075a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,15 +32,16 @@
  *
  * 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_ = "";
@@ -31,32 +49,35 @@ private ListSnapshotsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListSnapshotsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The unique name of the cluster for which snapshots should be listed.
    * Values are of the form
@@ -65,7 +86,10 @@ protected java.lang.Object newInstance(
    * 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 @@ -74,14 +98,15 @@ 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
@@ -90,17 +115,18 @@ 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 { @@ -111,12 +137,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; 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 @@ -127,11 +156,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -140,29 +172,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 { @@ -171,6 +203,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,8 +215,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -206,8 +238,7 @@ 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_); @@ -220,19 +251,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.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; } @@ -256,96 +285,103 @@ 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]
@@ -357,33 +393,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,9 +432,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
@@ -418,7 +453,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);
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result =
+          new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -430,38 +466,39 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest 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.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;
@@ -469,7 +506,8 @@ 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_;
         onChanged();
@@ -507,27 +545,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+
+                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) {
@@ -540,6 +582,8 @@ public Builder mergeFrom(
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -548,14 +592,16 @@ 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; @@ -564,6 +610,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -572,16 +620,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. */ - 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,6 +638,8 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -597,21 +648,25 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -620,16 +675,21 @@ public Builder setParent(
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The unique name of the cluster for which snapshots should be listed.
      * Values are of the form
@@ -638,30 +698,35 @@ 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); 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 @@ -669,32 +734,38 @@ 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. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); 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() { - + pageSize_ = 0; onChanged(); return this; @@ -702,18 +773,20 @@ 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; @@ -722,20 +795,21 @@ 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 { @@ -743,61 +817,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -807,12 +888,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(); } @@ -821,27 +902,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; @@ -856,6 +937,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsRequest 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/ListSnapshotsRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java index 7c7290b28e..8437c4e8da 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -16,11 +34,16 @@ public interface ListSnapshotsRequestOrBuilder extends
    * 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
@@ -29,40 +52,50 @@ public interface ListSnapshotsRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java index 0579e1c6b8..f28481e039 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,15 +32,16 @@
  *
  * 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_ = "";
@@ -31,32 +49,35 @@ private ListSnapshotsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListSnapshotsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List snapshots_;
   /**
+   *
+   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -68,6 +89,8 @@ public java.util.List getSnapshotsList() return snapshots_; } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -75,11 +98,13 @@ 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.
    * 
@@ -91,6 +116,8 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -102,6 +129,8 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -109,14 +138,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; 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
@@ -124,6 +154,7 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -132,14 +163,15 @@ 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
@@ -147,16 +179,15 @@ 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 { @@ -165,6 +196,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -176,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -194,8 +225,7 @@ 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_); @@ -208,17 +238,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.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; } @@ -242,96 +271,103 @@ 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]
@@ -343,33 +379,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +421,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
@@ -407,7 +442,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -427,38 +463,39 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse 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.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;
@@ -466,7 +503,8 @@ 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()) {
@@ -485,9 +523,10 @@ 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_);
           }
@@ -523,30 +562,32 @@ 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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -556,21 +597,28 @@ 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.
      * 
@@ -585,6 +633,8 @@ public java.util.List getSnapshotsList() } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -599,6 +649,8 @@ public int getSnapshotsCount() { } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -613,14 +665,15 @@ 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(); @@ -634,6 +687,8 @@ public Builder setSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -652,6 +707,8 @@ public Builder setSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -672,14 +729,15 @@ 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(); @@ -693,14 +751,15 @@ public Builder addSnapshots( 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()); @@ -711,6 +770,8 @@ public Builder addSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -729,6 +790,8 @@ public Builder addSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -739,8 +802,7 @@ 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); @@ -748,6 +810,8 @@ public Builder addAllSnapshots( return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -765,6 +829,8 @@ public Builder clearSnapshots() { return this; } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -782,39 +848,44 @@ 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 { @@ -822,6 +893,8 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( } } /** + * + * *
      * The snapshots present in the requested cluster.
      * 
@@ -829,42 +902,47 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( * 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_; @@ -872,6 +950,8 @@ public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder( 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
@@ -879,13 +959,13 @@ public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder(
      * 
* * 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; @@ -894,6 +974,8 @@ 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
@@ -901,15 +983,14 @@ 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 { @@ -917,6 +998,8 @@ 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
@@ -924,20 +1007,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -945,15 +1030,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -961,23 +1049,23 @@ 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -987,12 +1075,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(); } @@ -1001,27 +1089,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; @@ -1036,6 +1124,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsResponse 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/ListSnapshotsResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java index 7ddafcece8..d321a94cb6 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListSnapshotsResponseOrBuilder extends */ com.google.bigtable.admin.v2.Snapshot getSnapshots(int index); /** + * + * *
    * The snapshots present in the requested cluster.
    * 
@@ -33,25 +54,30 @@ public interface ListSnapshotsResponseOrBuilder extends */ 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
@@ -59,10 +85,13 @@ com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(
    * 
* * 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
@@ -70,8 +99,8 @@ com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index f3d938fd81..b2ff56b8e2 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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;
@@ -28,38 +46,44 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -68,30 +92,32 @@ 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 { @@ -102,35 +128,46 @@ public java.lang.String getParent() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view to be applied to the returned tables' fields.
    * Only 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.
    * Only 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Table.View getView() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.valueOf(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_; /** + * + * *
    * Maximum number of results per page.
    * A page_size of zero lets the server choose the number of items to return.
@@ -142,6 +179,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -152,11 +190,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; 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 @@ -165,29 +206,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 { @@ -196,6 +237,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -234,15 +275,13 @@ 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; @@ -252,20 +291,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -290,97 +327,104 @@ 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]
@@ -388,33 +432,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -430,9 +473,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
@@ -451,7 +494,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);
+      com.google.bigtable.admin.v2.ListTablesRequest result =
+          new com.google.bigtable.admin.v2.ListTablesRequest(this);
       result.parent_ = parent_;
       result.view_ = view_;
       result.pageSize_ = pageSize_;
@@ -464,38 +508,39 @@ public com.google.bigtable.admin.v2.ListTablesRequest 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.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;
@@ -544,32 +589,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
 
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
 
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -582,19 +632,23 @@ public Builder mergeFrom(
 
     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; @@ -603,21 +657,24 @@ 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 { @@ -625,57 +682,70 @@ 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) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -683,55 +753,69 @@ public Builder setParentBytes( private int view_ = 0; /** + * + * *
      * The view to be applied to the returned tables' fields.
      * Only 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.
      * Only 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view to be applied to the returned tables' fields.
      * Only 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.valueOf(view_); + com.google.bigtable.admin.v2.Table.View result = + com.google.bigtable.admin.v2.Table.View.valueOf(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** + * + * *
      * The view to be applied to the returned tables' fields.
      * Only 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. */ @@ -739,29 +823,34 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view to be applied to the returned tables' fields.
      * Only 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() { - + view_ = 0; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -773,6 +862,7 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -780,6 +870,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -791,16 +883,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of results per page.
      * A page_size of zero lets the server choose the number of items to return.
@@ -812,10 +907,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -823,18 +919,20 @@ 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; @@ -843,20 +941,21 @@ 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 { @@ -864,61 +963,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * 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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; 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() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = 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); } @@ -928,12 +1034,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(); } @@ -942,27 +1048,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; @@ -977,6 +1083,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesRequest 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/ListTablesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java index 6886c80e37..7497be7075 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java @@ -1,56 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * Only 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.
    * Only 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.
    * A page_size of zero lets the server choose the number of items to return.
@@ -62,27 +95,33 @@ public interface ListTablesRequestOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java index 3d039e327f..fecfb3c893 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -27,32 +45,35 @@ private ListTablesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListTablesResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private java.util.List tables_;
   /**
+   *
+   *
    * 
    * The tables present in the requested instance.
    * 
@@ -64,6 +85,8 @@ public java.util.List getTablesList() { return tables_; } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -71,11 +94,13 @@ 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.
    * 
@@ -87,6 +112,8 @@ public int getTablesCount() { return tables_.size(); } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -98,6 +125,8 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -105,14 +134,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; 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
@@ -120,6 +150,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +159,15 @@ 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
@@ -143,16 +175,15 @@ 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 { @@ -161,6 +192,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -190,8 +221,7 @@ 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_); @@ -204,17 +234,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.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; } @@ -237,97 +266,104 @@ 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]
@@ -335,33 +371,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +413,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
@@ -399,7 +434,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -419,38 +455,39 @@ public com.google.bigtable.admin.v2.ListTablesResponse 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.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;
@@ -458,7 +495,8 @@ 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()) {
@@ -477,9 +515,10 @@ 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_);
           }
@@ -515,30 +554,32 @@ 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();
+            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();
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -548,21 +589,28 @@ 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.
      * 
@@ -577,6 +625,8 @@ public java.util.List getTablesList() { } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -591,6 +641,8 @@ public int getTablesCount() { } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -605,14 +657,15 @@ 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(); @@ -626,6 +679,8 @@ public Builder setTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -644,6 +699,8 @@ public Builder setTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -664,14 +721,15 @@ 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(); @@ -685,14 +743,15 @@ public Builder addTables( 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()); @@ -703,6 +762,8 @@ public Builder addTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -721,6 +782,8 @@ public Builder addTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -731,8 +794,7 @@ 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); @@ -740,6 +802,8 @@ public Builder addAllTables( return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -757,6 +821,8 @@ public Builder clearTables() { return this; } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -774,39 +840,44 @@ 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 { @@ -814,6 +885,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( } } /** + * + * *
      * The tables present in the requested instance.
      * 
@@ -821,42 +894,47 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( * 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_; @@ -864,6 +942,8 @@ public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder( 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
@@ -871,13 +951,13 @@ public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder(
      * 
* * 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; @@ -886,6 +966,8 @@ 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
@@ -893,15 +975,14 @@ 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 { @@ -909,6 +990,8 @@ 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
@@ -916,20 +999,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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
@@ -937,15 +1022,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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
@@ -953,23 +1041,23 @@ 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) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = 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); } @@ -979,12 +1067,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(); } @@ -993,27 +1081,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; @@ -1028,6 +1116,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesResponse 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/ListTablesResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java index eba229279c..476077f165 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ListTablesResponseOrBuilder extends */ com.google.bigtable.admin.v2.Table getTables(int index); /** + * + * *
    * The tables present in the requested instance.
    * 
@@ -33,25 +54,29 @@ public interface ListTablesResponseOrBuilder extends */ 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
@@ -59,10 +84,13 @@ com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(
    * 
* * 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
@@ -70,8 +98,8 @@ com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java index 12e54c0a68..17266065d3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,15 +28,16 @@
  *
  * 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();
@@ -27,74 +45,89 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
@@ -105,26 +138,34 @@ public interface ModificationOrBuilder extends
     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.
@@ -135,83 +176,97 @@ public interface ModificationOrBuilder extends
     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(); - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase getModCase(); + public 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -227,32 +282,39 @@ 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; private volatile java.lang.Object id_; /** + * + * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; + * * @return The id. */ @java.lang.Override @@ -261,29 +323,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 { @@ -293,12 +355,15 @@ public java.lang.String getId() { 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 @@ -306,22 +371,27 @@ 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.
@@ -332,19 +402,22 @@ 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 @@ -352,22 +425,27 @@ 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.
@@ -378,19 +456,22 @@ 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 @@ -398,12 +479,15 @@ 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 @@ -415,6 +499,7 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,8 +511,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -438,8 +522,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -454,17 +537,19 @@ 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; @@ -474,28 +559,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.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: @@ -524,8 +606,7 @@ 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: @@ -536,87 +617,95 @@ 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 @@ -626,39 +715,43 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -676,19 +769,22 @@ 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); } @@ -697,7 +793,8 @@ 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); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = + new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); result.id_ = id_; if (modCase_ == 2) { if (createBuilder_ == null) { @@ -725,66 +822,78 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; 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(); @@ -812,36 +921,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - - 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(); + + 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) { @@ -851,12 +961,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() { @@ -866,21 +976,22 @@ public Builder clearMod() { return this; } - 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; @@ -889,20 +1000,21 @@ 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 { @@ -910,68 +1022,81 @@ public java.lang.String getId() { } } /** + * + * *
        * 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) { + public Builder setId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + id_ = value; onChanged(); return this; } /** + * + * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; + * * @return This builder for chaining. */ public Builder clearId() { - + id_ = getDefaultInstance().getId(); onChanged(); 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) { + public Builder setIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + id_ = value; onChanged(); return this; } 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 @@ -979,12 +1104,15 @@ 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 @@ -1002,6 +1130,8 @@ 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.
@@ -1023,6 +1153,8 @@ 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.
@@ -1030,8 +1162,7 @@ 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();
@@ -1042,6 +1173,8 @@ public Builder setCreate(
         return this;
       }
       /**
+       *
+       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1051,10 +1184,13 @@ public Builder setCreate(
        */
       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;
           }
@@ -1070,6 +1206,8 @@ 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.
@@ -1094,6 +1232,8 @@ public Builder clearCreate() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1105,6 +1245,8 @@ 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.
@@ -1124,6 +1266,8 @@ 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.
@@ -1132,33 +1276,45 @@ 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());
           mod_ = null;
         }
         modCase_ = 2;
-        onChanged();;
+        onChanged();
+        ;
         return createBuilder_;
       }
 
       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 @@ -1166,12 +1322,15 @@ 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 @@ -1189,6 +1348,8 @@ 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.
@@ -1210,6 +1371,8 @@ 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.
@@ -1217,8 +1380,7 @@ 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();
@@ -1229,6 +1391,8 @@ public Builder setUpdate(
         return this;
       }
       /**
+       *
+       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1238,10 +1402,13 @@ public Builder setUpdate(
        */
       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;
           }
@@ -1257,6 +1424,8 @@ 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.
@@ -1281,6 +1450,8 @@ 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.
@@ -1292,6 +1463,8 @@ 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.
@@ -1311,6 +1484,8 @@ 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.
@@ -1319,43 +1494,55 @@ 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());
           mod_ = null;
         }
         modCase_ = 3;
-        onChanged();;
+        onChanged();
+        ;
         return updateBuilder_;
       }
 
       /**
+       *
+       *
        * 
        * 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() { @@ -1365,12 +1552,15 @@ 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. */ @@ -1381,12 +1571,15 @@ 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() { @@ -1397,6 +1590,7 @@ public Builder clearDrop() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1409,41 +1603,45 @@ 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; @@ -1455,22 +1653,27 @@ 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; 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 @@ -1479,31 +1682,33 @@ 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 { @@ -1512,8 +1717,11 @@ public java.lang.String getName() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; - 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 can be
@@ -1521,13 +1729,18 @@ public java.lang.String getName() {
    * 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 can be
@@ -1535,14 +1748,19 @@ public java.util.List
    *
-   * 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 
+  public java.util.List<
+          ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>
       getModificationsOrBuilderList() {
     return modifications_;
   }
   /**
+   *
+   *
    * 
    * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
@@ -1550,13 +1768,17 @@ public java.util.List
    *
-   * 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 can be
@@ -1564,13 +1786,18 @@ public int getModificationsCount() {
    * 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 can be
@@ -1578,15 +1805,18 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
    * 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; @@ -1598,8 +1828,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1619,8 +1848,7 @@ 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; @@ -1630,17 +1858,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.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; } @@ -1664,96 +1891,104 @@ 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]
@@ -1761,33 +1996,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1804,9 +2038,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
@@ -1825,7 +2059,8 @@ 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);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (modificationsBuilder_ == null) {
@@ -1845,38 +2080,39 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest 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.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;
@@ -1884,7 +2120,8 @@ 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_;
         onChanged();
@@ -1907,9 +2144,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            modificationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getModificationsFieldBuilder() : null;
+            modificationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getModificationsFieldBuilder()
+                    : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -1941,30 +2179,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -1974,24 +2216,29 @@ 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; @@ -2000,22 +2247,25 @@ 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 { @@ -2023,78 +2273,100 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); 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_ & 0x00000001) != 0)) { - modifications_ = new java.util.ArrayList(modifications_); + modifications_ = + new java.util.ArrayList< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( + modifications_); bitField0_ |= 0x00000001; - } + } } 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 can be
@@ -2102,9 +2374,12 @@ private void ensureModificationsIsMutable() {
      * 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 { @@ -2112,6 +2387,8 @@ public java.util.List * Required. Modifications to be atomically applied to the specified table's families. * Entries are applied in order, meaning that earlier modifications can be @@ -2119,7 +2396,9 @@ public java.util.List * - * 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) { @@ -2129,6 +2408,8 @@ public int getModificationsCount() { } } /** + * + * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2136,9 +2417,12 @@ public int getModificationsCount() {
      * 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 { @@ -2146,6 +2430,8 @@ 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 can be
@@ -2153,7 +2439,9 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
      * 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) { @@ -2170,6 +2458,8 @@ 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 can be
@@ -2177,10 +2467,14 @@ public Builder setModifications(
      * 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()); @@ -2191,6 +2485,8 @@ 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 can be
@@ -2198,9 +2494,12 @@ public Builder setModifications(
      * 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(); @@ -2214,6 +2513,8 @@ public Builder addModifications(com.google.bigtable.admin.v2.ModifyColumnFamilie return this; } /** + * + * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2221,7 +2522,9 @@ public Builder addModifications(com.google.bigtable.admin.v2.ModifyColumnFamilie
      * 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) { @@ -2238,6 +2541,8 @@ 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 can be
@@ -2245,10 +2550,13 @@ public Builder addModifications(
      * 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()); @@ -2259,6 +2567,8 @@ 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 can be
@@ -2266,10 +2576,14 @@ public Builder addModifications(
      * 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()); @@ -2280,6 +2594,8 @@ 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 can be
@@ -2287,14 +2603,17 @@ public Builder addModifications(
      * 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 values) { + java.lang.Iterable< + ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification> + 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); @@ -2302,6 +2621,8 @@ 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 can be
@@ -2309,7 +2630,9 @@ public Builder addAllModifications(
      * 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) { @@ -2322,6 +2645,8 @@ 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 can be
@@ -2329,7 +2654,9 @@ public Builder clearModifications() {
      * 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) { @@ -2342,6 +2669,8 @@ 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 can be
@@ -2349,13 +2678,17 @@ public Builder removeModifications(int index) {
      * 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 can be
@@ -2363,16 +2696,21 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Bui
      * 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 can be
@@ -2380,10 +2718,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBu
      * 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 - getModificationsOrBuilderList() { + public java.util.List< + ? extends + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + getModificationsOrBuilderList() { if (modificationsBuilder_ != null) { return modificationsBuilder_.getMessageOrBuilderList(); } else { @@ -2391,6 +2733,8 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBu } } /** + * + * *
      * Required. Modifications to be atomically applied to the specified table's families.
      * Entries are applied in order, meaning that earlier modifications can be
@@ -2398,13 +2742,20 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBu
      * 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 can be
@@ -2412,14 +2763,21 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Bui
      * 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 can be
@@ -2427,18 +2785,27 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Bui
      * 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 - getModificationsBuilderList() { + public java.util.List< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder> + 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_ & 0x00000001) != 0), getParentForChildren(), @@ -2447,9 +2814,9 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Bui } 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); } @@ -2459,12 +2826,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(); } @@ -2473,27 +2840,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; @@ -2508,6 +2875,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest 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/ModifyColumnFamiliesRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java index d36d7a73a3..374bbc2440 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 can be
@@ -39,11 +66,15 @@ public interface ModifyColumnFamiliesRequestOrBuilder extends
    * 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 can be
@@ -51,10 +82,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder extends
    * 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 can be
@@ -62,10 +97,14 @@ public interface ModifyColumnFamiliesRequestOrBuilder extends
    * 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 can be
@@ -73,11 +112,16 @@ public interface ModifyColumnFamiliesRequestOrBuilder extends
    * 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< + ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> getModificationsOrBuilderList(); /** + * + * *
    * Required. Modifications to be atomically applied to the specified table's families.
    * Entries are applied in order, meaning that earlier modifications can be
@@ -85,8 +129,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java index 46cd145eff..c8dbdfc47e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/common.proto package com.google.bigtable.admin.v2; /** + * + * *
  * Encapsulates progress related information for a Cloud Bigtable long
  * running operation.
@@ -11,52 +28,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; + * * @return The progressPercent. */ @java.lang.Override @@ -67,11 +88,14 @@ 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 @@ -79,11 +103,14 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ @java.lang.Override @@ -91,6 +118,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Time the request was received.
    * 
@@ -105,12 +134,15 @@ 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 @@ -118,12 +150,15 @@ 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 @@ -131,6 +166,8 @@ 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.
@@ -144,6 +181,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -155,8 +193,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -176,16 +213,13 @@ 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;
@@ -195,24 +229,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.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;
@@ -240,97 +272,104 @@ 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.
@@ -338,33 +377,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +424,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
@@ -407,7 +445,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);
+      com.google.bigtable.admin.v2.OperationProgress result =
+          new com.google.bigtable.admin.v2.OperationProgress(this);
       result.progressPercent_ = progressPercent_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -427,38 +466,39 @@ public com.google.bigtable.admin.v2.OperationProgress 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.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;
@@ -502,31 +542,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              progressPercent_ = input.readInt32();
+            case 8:
+              {
+                progressPercent_ = input.readInt32();
 
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -537,14 +577,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -552,32 +595,38 @@ 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. */ public Builder setProgressPercent(int value) { - + progressPercent_ = value; onChanged(); 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() { - + progressPercent_ = 0; onChanged(); return this; @@ -585,24 +634,33 @@ 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -613,6 +671,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Time the request was received.
      * 
@@ -633,14 +693,15 @@ 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(); onChanged(); @@ -651,6 +712,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -661,7 +724,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -673,6 +736,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -691,6 +756,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Time the request was received.
      * 
@@ -698,11 +765,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the request was received.
      * 
@@ -713,11 +782,12 @@ 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.
      * 
@@ -725,14 +795,17 @@ 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_; @@ -740,26 +813,35 @@ 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -770,6 +852,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -791,6 +875,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -798,8 +884,7 @@ 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();
         onChanged();
@@ -810,6 +895,8 @@ public Builder setEndTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -821,7 +908,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
         if (endTime_ != null) {
           endTime_ =
-            com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
         } else {
           endTime_ = value;
         }
@@ -833,6 +920,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -852,6 +941,8 @@ public Builder clearEndTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -860,11 +951,13 @@ public Builder clearEndTime() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-      
+
       onChanged();
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -876,11 +969,12 @@ 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.
@@ -889,21 +983,24 @@ 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);
     }
 
@@ -913,12 +1010,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();
   }
@@ -927,27 +1024,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;
@@ -962,6 +1059,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.OperationProgress 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/OperationProgressOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
index 6f85cc6d54..6b558fc107 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
@@ -1,42 +1,69 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
    * 
@@ -46,26 +73,34 @@ public interface OperationProgressOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
similarity index 68%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
index fc5e6abda6..7b2c946018 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -13,52 +30,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -67,29 +89,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 { @@ -100,11 +122,14 @@ public java.lang.String getName() { 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 @@ -112,18 +137,25 @@ 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.
    * 
@@ -136,6 +168,7 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -147,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -168,8 +200,7 @@ 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; @@ -179,19 +210,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -216,96 +246,104 @@ 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
@@ -315,33 +353,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -357,9 +394,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
@@ -378,7 +415,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);
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result =
+          new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
       result.name_ = name_;
       if (progressBuilder_ == null) {
         result.progress_ = progress_;
@@ -393,38 +431,39 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata 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.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;
@@ -432,7 +471,8 @@ 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_;
         onChanged();
@@ -466,24 +506,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -496,18 +537,20 @@ public Builder mergeFrom(
 
     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; @@ -516,20 +559,21 @@ 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 { @@ -537,54 +581,61 @@ public java.lang.String getName() { } } /** + * + * *
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -592,34 +643,47 @@ public Builder setNameBytes( 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 progressBuilder_ != null || progress_ != null; } /** + * + * *
      * 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.
      * 
@@ -640,6 +704,8 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -658,6 +724,8 @@ public Builder setProgress( return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -668,7 +736,9 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu if (progressBuilder_ == null) { if (progress_ != null) { progress_ = - com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_) + .mergeFrom(value) + .buildPartial(); } else { progress_ = value; } @@ -680,6 +750,8 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -698,6 +770,8 @@ public Builder clearProgress() { return this; } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -705,11 +779,13 @@ public Builder clearProgress() { * .google.bigtable.admin.v2.OperationProgress progress = 2; */ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder() { - + onChanged(); return getProgressFieldBuilder().getBuilder(); } /** + * + * *
      * The progress of the post-restore optimizations.
      * 
@@ -720,11 +796,14 @@ 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.
      * 
@@ -732,21 +811,24 @@ 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); } @@ -756,12 +838,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(); } @@ -770,27 +852,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; @@ -805,6 +887,4 @@ public com.google.protobuf.Parser getParserForTyp public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata 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/OptimizeRestoredTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java index f52de7c93d..3ba07f028d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java index 1060fa5e3c..6ea994b7ca 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,11 +83,14 @@ 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 @@ -74,6 +98,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -88,11 +114,14 @@ 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 @@ -100,11 +129,14 @@ 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 @@ -112,6 +144,8 @@ 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.
    * 
@@ -126,11 +160,14 @@ 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 @@ -138,18 +175,25 @@ 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.
    * 
@@ -157,11 +201,13 @@ 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() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder + getOriginalRequestOrBuilder() { return getOriginalRequest(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -194,16 +239,13 @@ 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; @@ -213,27 +255,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.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; @@ -264,129 +304,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +459,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 @@ -433,7 +480,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); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = + new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); if (requestTimeBuilder_ == null) { result.requestTime_ = requestTime_; } else { @@ -457,38 +505,39 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata 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.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; @@ -496,7 +545,8 @@ 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()); } @@ -532,33 +582,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -571,34 +619,47 @@ public Builder mergeFrom( 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -619,14 +680,15 @@ 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(); onChanged(); @@ -637,6 +699,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -647,7 +711,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -659,6 +725,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -677,6 +745,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -684,11 +754,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 1; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -699,11 +771,14 @@ 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.
      * 
@@ -711,14 +786,17 @@ 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_; @@ -726,34 +804,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -774,14 +865,15 @@ 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(); onChanged(); @@ -792,6 +884,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -802,7 +896,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -814,6 +908,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -832,6 +928,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -839,11 +937,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 2; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -854,11 +954,14 @@ 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.
      * 
@@ -866,14 +969,17 @@ 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_; @@ -881,41 +987,55 @@ 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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(); @@ -929,6 +1049,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClus return this; } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
@@ -947,17 +1069,22 @@ 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 (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -969,6 +1096,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateCl return this; } /** + * + * *
      * The original request for PartialUpdateCluster.
      * 
@@ -987,33 +1116,42 @@ 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() { + 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.
      * 
@@ -1021,21 +1159,24 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOrig * .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); } @@ -1045,12 +1186,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(); } @@ -1059,27 +1200,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; @@ -1094,6 +1235,4 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata 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/PartialUpdateClusterMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java index ca0b7c7a1f..1ba9bbad43 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface PartialUpdateClusterMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface PartialUpdateClusterMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java index 345a3cb760..51fab538cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -63,12 +85,16 @@ 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 @@ -76,12 +102,15 @@ 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() { @@ -91,11 +120,15 @@ 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 @@ -103,11 +136,15 @@ 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 @@ -115,11 +152,14 @@ 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() { @@ -127,6 +167,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -156,12 +196,10 @@ 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; @@ -171,22 +209,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.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; @@ -213,129 +250,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +399,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 @@ -376,7 +420,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); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = + new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); if (clusterBuilder_ == null) { result.cluster_ = cluster_; } else { @@ -395,38 +440,39 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest 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.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; @@ -434,7 +480,8 @@ 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()); } @@ -467,26 +514,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getClusterFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -499,42 +545,61 @@ public Builder mergeFrom( 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 clusterBuilder_ != null || 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. */ 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) { @@ -550,15 +615,18 @@ 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(); onChanged(); @@ -569,18 +637,24 @@ public Builder setCluster( 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 (cluster_ != null) { cluster_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(cluster_) + .mergeFrom(value) + .buildPartial(); } else { cluster_ = value; } @@ -592,12 +666,16 @@ 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() { if (clusterBuilder_ == null) { @@ -611,51 +689,67 @@ 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() { - + onChanged(); 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_; @@ -663,39 +757,55 @@ 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 updateMaskBuilder_ != null || 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. */ 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) { @@ -711,14 +821,16 @@ 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(); onChanged(); @@ -729,17 +841,20 @@ public Builder setUpdateMask( 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -751,11 +866,14 @@ 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() { if (updateMaskBuilder_ == null) { @@ -769,55 +887,68 @@ 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() { - + onChanged(); 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); } @@ -827,12 +958,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(); } @@ -841,27 +972,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; @@ -876,6 +1007,4 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.PartialUpdateClusterRequest 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/PartialUpdateClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java index e99c8ea992..bd595c00d1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java @@ -1,66 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java index 6aea999a8b..c3dc82149c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,23 +85,34 @@ 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() { @@ -88,12 +122,16 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { 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 @@ -101,12 +139,16 @@ 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 @@ -114,12 +156,15 @@ 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() { @@ -127,6 +172,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -138,8 +184,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -156,12 +201,10 @@ 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; @@ -171,22 +214,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.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; @@ -213,129 +255,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -355,9 +404,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 @@ -376,7 +425,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); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = + new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); if (instanceBuilder_ == null) { result.instance_ = instance_; } else { @@ -395,38 +445,39 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest 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.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; @@ -434,7 +485,8 @@ 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()); } @@ -467,26 +519,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getInstanceFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -499,39 +550,58 @@ public Builder mergeFrom( 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 instanceBuilder_ != null || 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. */ 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) { @@ -547,14 +617,17 @@ 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(); onChanged(); @@ -565,17 +638,23 @@ public Builder setInstance( 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 (instance_ != null) { instance_ = - com.google.bigtable.admin.v2.Instance.newBuilder(instance_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Instance.newBuilder(instance_) + .mergeFrom(value) + .buildPartial(); } else { instance_ = value; } @@ -587,11 +666,15 @@ 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() { if (instanceBuilder_ == null) { @@ -605,48 +688,64 @@ 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() { - + onChanged(); 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_; @@ -654,42 +753,58 @@ 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 updateMaskBuilder_ != null || 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. */ 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) { @@ -705,15 +820,17 @@ 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(); onChanged(); @@ -724,18 +841,21 @@ public Builder setUpdateMask( 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -747,12 +867,15 @@ 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() { if (updateMaskBuilder_ == null) { @@ -766,58 +889,71 @@ 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() { - + onChanged(); 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); } @@ -827,12 +963,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(); } @@ -841,27 +977,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; @@ -876,6 +1012,4 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest 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/PartialUpdateInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java similarity index 58% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java index 4970272a1f..3b3bde4012 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java @@ -1,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java index d5e19dd253..7f12b4a44c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java @@ -1,61 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -71,57 +93,71 @@ 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_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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 @@ -129,22 +165,27 @@ 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.
@@ -155,12 +196,13 @@ 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;
@@ -172,9 +214,10 @@ 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) {
@@ -189,13 +232,15 @@ 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;
@@ -205,7 +250,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);
@@ -216,8 +261,7 @@ 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:
@@ -248,130 +292,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -386,9 +436,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 @@ -407,7 +457,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); + com.google.bigtable.admin.v2.RestoreInfo result = + new com.google.bigtable.admin.v2.RestoreInfo(this); result.sourceType_ = sourceType_; if (sourceInfoCase_ == 2) { if (backupInfoBuilder_ == null) { @@ -425,38 +476,39 @@ public com.google.bigtable.admin.v2.RestoreInfo 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.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; @@ -469,13 +521,15 @@ 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(); @@ -503,24 +557,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - sourceType_ = input.readEnum(); - - 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(); + + 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) { @@ -530,12 +585,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() { @@ -545,54 +600,67 @@ public Builder clearSourceInfo() { return this; } - 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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. */ @@ -600,35 +668,44 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; + * * @return This builder for chaining. */ public Builder clearSourceType() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -636,12 +713,15 @@ 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 @@ -659,6 +739,8 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** + * + * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -680,6 +762,8 @@ 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.
@@ -687,8 +771,7 @@ 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();
@@ -699,6 +782,8 @@ public Builder setBackupInfo(
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -708,10 +793,13 @@ public Builder setBackupInfo(
      */
     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;
         }
@@ -727,6 +815,8 @@ 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.
@@ -751,6 +841,8 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -762,6 +854,8 @@ 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.
@@ -781,6 +875,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
+     *
+     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -789,26 +885,32 @@ 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());
         sourceInfo_ = null;
       }
       sourceInfoCase_ = 2;
-      onChanged();;
+      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);
     }
 
@@ -818,12 +920,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();
   }
@@ -832,27 +934,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;
@@ -867,6 +969,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreInfo 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/RestoreInfoOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
index e93e32a059..fdcf4a0c1e 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
@@ -1,52 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
similarity index 67%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
index 9bd07a1b71..3a3567dc61 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
@@ -1,18 +1,36 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
    * 
@@ -21,6 +39,8 @@ public enum RestoreSourceType */ RESTORE_SOURCE_TYPE_UNSPECIFIED(0), /** + * + * *
    * A backup was used as the source of the restore.
    * 
@@ -32,6 +52,8 @@ public enum RestoreSourceType ; /** + * + * *
    * No restore associated.
    * 
@@ -40,6 +62,8 @@ public enum RestoreSourceType */ public static final int RESTORE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * A backup was used as the source of the restore.
    * 
@@ -48,7 +72,6 @@ public enum RestoreSourceType */ public static final int BACKUP_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -73,38 +96,40 @@ 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< - 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() { + + 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() { 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); } @@ -113,8 +138,7 @@ public RestoreSourceType findValueByNumber(int number) { 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; @@ -130,4 +154,3 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.RestoreSourceType) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java index b197dfc157..a5bda7dd29 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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].
@@ -11,15 +28,16 @@
  *
  * 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;
@@ -28,37 +46,41 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -74,30 +96,35 @@ 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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -106,29 +133,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 { @@ -139,33 +166,43 @@ public java.lang.String getName() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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 @@ -174,22 +211,21 @@ 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(); } @@ -197,6 +233,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; 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
@@ -210,6 +248,7 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; + * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -218,14 +257,15 @@ 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
@@ -239,16 +279,15 @@ 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 { @@ -259,12 +298,15 @@ public java.lang.String getOptimizeTableOperationName() { 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]
    * operation.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; + * * @return Whether the progress field is set. */ @java.lang.Override @@ -272,19 +314,26 @@ public boolean hasProgress() { return progress_ != null; } /** + * + * *
    * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
    * operation.
    * 
* * .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]
    * operation.
@@ -298,6 +347,7 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -309,12 +359,13 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(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) {
@@ -338,20 +389,22 @@ 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;
@@ -361,28 +414,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.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:
@@ -422,96 +473,103 @@ 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].
@@ -519,33 +577,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -570,9 +627,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
@@ -591,7 +648,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);
+      com.google.bigtable.admin.v2.RestoreTableMetadata result =
+          new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
       result.name_ = name_;
       result.sourceType_ = sourceType_;
       if (sourceInfoCase_ == 3) {
@@ -616,38 +674,39 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata 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.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;
@@ -655,7 +714,8 @@ 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_;
         onChanged();
@@ -671,13 +731,15 @@ 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();
@@ -705,41 +767,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 16: {
-              sourceType_ = input.readEnum();
-
-              break;
-            } // case 16
-            case 26: {
-              input.readMessage(
-                  getBackupInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              sourceInfoCase_ = 3;
-              break;
-            } // case 26
-            case 34: {
-              optimizeTableOperationName_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getProgressFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 16:
+              {
+                sourceType_ = input.readEnum();
+
+                break;
+              } // case 16
+            case 26:
+              {
+                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
+                sourceInfoCase_ = 3;
+                break;
+              } // case 26
+            case 34:
+              {
+                optimizeTableOperationName_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
+
+                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) {
@@ -749,12 +813,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() {
@@ -764,21 +828,22 @@ public Builder clearSourceInfo() {
       return this;
     }
 
-
     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; @@ -787,20 +852,21 @@ 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 { @@ -808,54 +874,61 @@ public java.lang.String getName() { } } /** + * + * *
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -863,51 +936,65 @@ public Builder setNameBytes( 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. */ public Builder setSourceTypeValue(int value) { - + sourceType_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.valueOf(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = + com.google.bigtable.admin.v2.RestoreSourceType.valueOf(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. */ @@ -915,30 +1002,37 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu if (value == null) { throw new NullPointerException(); } - + sourceType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; + * * @return This builder for chaining. */ public Builder clearSourceType() { - + sourceType_ = 0; onChanged(); return this; } 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 @@ -947,6 +1041,7 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + * * @return The backupInfo. */ @java.lang.Override @@ -963,9 +1058,7 @@ 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) { @@ -979,11 +1072,8 @@ 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(); @@ -993,15 +1083,16 @@ public Builder setBackupInfo( 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; } @@ -1016,9 +1107,7 @@ 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) { @@ -1035,15 +1124,11 @@ 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)) { @@ -1055,30 +1140,36 @@ 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()); sourceInfo_ = null; } sourceInfoCase_ = 3; - onChanged();; + onChanged(); + ; return backupInfoBuilder_; } 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
@@ -1092,13 +1183,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; @@ -1107,6 +1198,8 @@ 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
@@ -1120,15 +1213,14 @@ 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 { @@ -1136,6 +1228,8 @@ 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
@@ -1149,20 +1243,22 @@ public java.lang.String getOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; + * * @param value The optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationName( - java.lang.String value) { + public Builder setOptimizeTableOperationName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + optimizeTableOperationName_ = value; 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
@@ -1176,15 +1272,18 @@ public Builder setOptimizeTableOperationName(
      * 
* * string optimize_table_operation_name = 4; + * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { - + optimizeTableOperationName_ = getDefaultInstance().getOptimizeTableOperationName(); 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
@@ -1198,16 +1297,16 @@ 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) { + public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + optimizeTableOperationName_ = value; onChanged(); return this; @@ -1215,36 +1314,49 @@ public Builder setOptimizeTableOperationNameBytes( 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]
      * operation.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; + * * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** + * + * *
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
      * 
* * .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]
      * operation.
@@ -1266,6 +1378,8 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1285,6 +1399,8 @@ public Builder setProgress(
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1296,7 +1412,9 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       if (progressBuilder_ == null) {
         if (progress_ != null) {
           progress_ =
-            com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_).mergeFrom(value).buildPartial();
+              com.google.bigtable.admin.v2.OperationProgress.newBuilder(progress_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           progress_ = value;
         }
@@ -1308,6 +1426,8 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1327,6 +1447,8 @@ public Builder clearProgress() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1335,11 +1457,13 @@ public Builder clearProgress() {
      * .google.bigtable.admin.v2.OperationProgress progress = 5;
      */
     public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder() {
-      
+
       onChanged();
       return getProgressFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
      * operation.
@@ -1351,11 +1475,14 @@ 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]
      * operation.
@@ -1364,21 +1491,24 @@ 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);
     }
 
@@ -1388,12 +1518,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();
   }
@@ -1402,27 +1532,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;
@@ -1437,6 +1567,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreTableMetadata 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/RestoreTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
index c41e6b3084..514e02881e 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
@@ -1,67 +1,96 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -75,10 +104,13 @@ public interface RestoreTableMetadataOrBuilder extends
    * 
* * 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
@@ -92,32 +124,40 @@ public interface RestoreTableMetadataOrBuilder extends
    * 
* * 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]
    * operation.
    * 
* * .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]
    * operation.
    * 
* * .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]
    * operation.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
index e838020d3a..1ca6255dcb 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
+++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/bigtable/admin/v2/bigtable_table_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
+ *
+ *
  * 
  * The request for
  * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -11,15 +28,16 @@
  *
  * 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_ = "";
@@ -27,37 +45,41 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,32 +95,39 @@ 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;
   private volatile java.lang.Object parent_;
   /**
+   *
+   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. This instance must be in the same project as the source backup.
    * 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 @@ -107,31 +136,33 @@ 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. This instance must be in the same project as the source backup.
    * 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 { @@ -142,6 +173,8 @@ public java.lang.String getParent() { public static final int TABLE_ID_FIELD_NUMBER = 2; 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
@@ -150,6 +183,7 @@ public java.lang.String getParent() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The tableId. */ @java.lang.Override @@ -158,14 +192,15 @@ 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
@@ -174,16 +209,15 @@ 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 { @@ -193,24 +227,30 @@ public java.lang.String getTableId() { 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() { @@ -221,8 +261,7 @@ 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; @@ -231,24 +270,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. */ - 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; } @@ -259,6 +299,7 @@ public java.lang.String getBackup() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -270,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -307,22 +347,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.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: @@ -355,97 +393,104 @@ 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].
@@ -453,33 +498,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -493,9 +537,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
@@ -514,7 +558,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);
+      com.google.bigtable.admin.v2.RestoreTableRequest result =
+          new com.google.bigtable.admin.v2.RestoreTableRequest(this);
       result.parent_ = parent_;
       result.tableId_ = tableId_;
       if (sourceCase_ == 3) {
@@ -529,38 +574,39 @@ public com.google.bigtable.admin.v2.RestoreTableRequest 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.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;
@@ -568,7 +614,8 @@ 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_;
         onChanged();
@@ -578,15 +625,17 @@ 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();
@@ -614,28 +663,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              tableId_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                tableId_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -645,12 +698,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() {
@@ -660,23 +713,26 @@ public Builder clearSource() {
       return this;
     }
 
-
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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; @@ -685,22 +741,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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 { @@ -708,60 +767,73 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the instance in which to create the restored
      * table. This instance must be in the same project as the source backup.
      * 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) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -769,6 +841,8 @@ public Builder setParentBytes( 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
@@ -777,13 +851,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -792,6 +866,8 @@ 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
@@ -800,15 +876,14 @@ 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 { @@ -816,6 +891,8 @@ 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
@@ -824,20 +901,22 @@ public java.lang.String getTableId() {
      * 
* * 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) { + public Builder setTableId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableId_ = value; 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
@@ -846,15 +925,18 @@ public Builder setTableId(
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTableId() { - + tableId_ = getDefaultInstance().getTableId(); 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
@@ -863,28 +945,31 @@ 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) { + public Builder setTableIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableId_ = 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 Whether the backup field is set. */ @java.lang.Override @@ -892,12 +977,15 @@ 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 @@ -907,8 +995,7 @@ 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; @@ -919,25 +1006,26 @@ 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; } @@ -947,32 +1035,37 @@ 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) = { ... } + * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup( - java.lang.String value) { + public Builder setBackup(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - sourceCase_ = 3; + 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() { @@ -984,29 +1077,31 @@ 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) { + public Builder setBackupBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -1016,12 +1111,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(); } @@ -1030,27 +1125,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; @@ -1065,6 +1160,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.RestoreTableRequest 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/RestoreTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java index d1f765e95c..f55e5f6108 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. This instance must be in the same project as the source backup.
    * 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. This instance must be in the same project as the source backup.
    * 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
@@ -40,10 +67,13 @@ public interface RestoreTableRequestOrBuilder extends
    * 
* * 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
@@ -52,42 +82,50 @@ public interface RestoreTableRequestOrBuilder extends
    * 
* * 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(); public com.google.bigtable.admin.v2.RestoreTableRequest.SourceCase getSourceCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java index c24938c22d..15afea9cec 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -15,15 +32,16 @@
  *
  * 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;
@@ -32,39 +50,43 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
      * 
@@ -73,6 +95,8 @@ public enum State */ STATE_NOT_KNOWN(0), /** + * + * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -81,6 +105,8 @@ public enum State */ 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
@@ -94,6 +120,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -102,6 +130,8 @@ public enum State */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** + * + * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -110,6 +140,8 @@ public enum State */ 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
@@ -120,7 +152,6 @@ public enum State
      */
     public static final int CREATING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -145,49 +176,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);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    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() {
       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;
@@ -207,6 +238,8 @@ private State(int value) {
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -214,6 +247,7 @@ private State(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -222,14 +256,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -237,16 +272,15 @@ 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 { @@ -257,11 +291,14 @@ public java.lang.String getName() { 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; + * * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -269,18 +306,25 @@ 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; + * * @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.
    * 
@@ -295,6 +339,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; 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
@@ -303,6 +349,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3; + * * @return The dataSizeBytes. */ @java.lang.Override @@ -313,11 +360,14 @@ 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; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -325,11 +375,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ @java.lang.Override @@ -337,6 +390,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The time when the snapshot is created.
    * 
@@ -351,6 +406,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp deleteTime_; /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -358,6 +415,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -365,6 +423,8 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -372,6 +432,7 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return The deleteTime. */ @java.lang.Override @@ -379,6 +440,8 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -395,38 +458,50 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_;
   /**
+   *
+   *
    * 
    * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @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; + * * @return The state. */ - @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { + @java.lang.Override + public com.google.bigtable.admin.v2.Snapshot.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); + com.google.bigtable.admin.v2.Snapshot.State result = + com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; private volatile java.lang.Object description_; /** + * + * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; + * * @return The description. */ @java.lang.Override @@ -435,29 +510,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; } } /** + * + * *
    * Output only. 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 { @@ -466,6 +541,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -477,8 +553,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -513,24 +588,19 @@ 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_); @@ -543,35 +613,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.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; } @@ -590,8 +654,7 @@ 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(); @@ -609,97 +672,103 @@ 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.
@@ -711,33 +780,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -771,9 +839,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
@@ -792,7 +860,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);
+      com.google.bigtable.admin.v2.Snapshot result =
+          new com.google.bigtable.admin.v2.Snapshot(this);
       result.name_ = name_;
       if (sourceTableBuilder_ == null) {
         result.sourceTable_ = sourceTable_;
@@ -820,38 +889,39 @@ public com.google.bigtable.admin.v2.Snapshot 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.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;
@@ -909,53 +979,55 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getSourceTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 18
-            case 24: {
-              dataSizeBytes_ = input.readInt64();
-
-              break;
-            } // case 24
-            case 34: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 34
-            case 42: {
-              input.readMessage(
-                  getDeleteTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              break;
-            } // case 42
-            case 48: {
-              state_ = input.readEnum();
-
-              break;
-            } // case 48
-            case 58: {
-              description_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 58
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 18
+            case 24:
+              {
+                dataSizeBytes_ = input.readInt64();
+
+                break;
+              } // case 24
+            case 34:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 34
+            case 42:
+              {
+                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
+
+                break;
+              } // case 42
+            case 48:
+              {
+                state_ = input.readEnum();
+
+                break;
+              } // case 48
+            case 58:
+              {
+                description_ = input.readStringRequireUtf8();
+
+                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) {
@@ -968,6 +1040,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -975,13 +1049,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; @@ -990,6 +1064,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -997,15 +1073,14 @@ 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 { @@ -1013,6 +1088,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1020,20 +1097,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1041,15 +1120,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The unique name of the snapshot.
      * Values are of the form
@@ -1057,16 +1139,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1074,34 +1156,47 @@ public Builder setNameBytes( 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; + * * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return sourceTableBuilder_ != null || sourceTable_ != null; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* * .google.bigtable.admin.v2.Table source_table = 2; + * * @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.
      * 
@@ -1122,14 +1217,15 @@ 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; */ - 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(); onChanged(); @@ -1140,6 +1236,8 @@ public Builder setSourceTable( return this; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1150,7 +1248,9 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { if (sourceTable_ != null) { sourceTable_ = - com.google.bigtable.admin.v2.Table.newBuilder(sourceTable_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(sourceTable_) + .mergeFrom(value) + .buildPartial(); } else { sourceTable_ = value; } @@ -1162,6 +1262,8 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1180,6 +1282,8 @@ public Builder clearSourceTable() { return this; } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1187,11 +1291,13 @@ public Builder clearSourceTable() { * .google.bigtable.admin.v2.Table source_table = 2; */ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { - + onChanged(); return getSourceTableFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The source table at the time the snapshot was taken.
      * 
@@ -1202,11 +1308,14 @@ 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.
      * 
@@ -1214,21 +1323,26 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { * .google.bigtable.admin.v2.Table source_table = 2; */ 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
@@ -1237,6 +1351,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3; + * * @return The dataSizeBytes. */ @java.lang.Override @@ -1244,6 +1359,8 @@ 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
@@ -1252,16 +1369,19 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3; + * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ public Builder setDataSizeBytes(long value) { - + dataSizeBytes_ = value; onChanged(); 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
@@ -1270,10 +1390,11 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { - + dataSizeBytes_ = 0L; onChanged(); return this; @@ -1281,34 +1402,47 @@ 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; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
* * .google.protobuf.Timestamp create_time = 4; + * * @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.
      * 
@@ -1329,14 +1463,15 @@ 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; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1347,6 +1482,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1357,7 +1494,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1369,6 +1506,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1387,6 +1526,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1394,11 +1535,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 4; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The time when the snapshot is created.
      * 
@@ -1409,11 +1552,14 @@ 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.
      * 
@@ -1421,14 +1567,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -1436,8 +1585,13 @@ 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_; /** + * + * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1445,12 +1599,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return deleteTimeBuilder_ != null || deleteTime_ != null; } /** + * + * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1458,16 +1615,21 @@ 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(); } } /** + * + * *
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1490,6 +1652,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1498,8 +1662,7 @@ 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();
         onChanged();
@@ -1510,6 +1673,8 @@ public Builder setDeleteTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1522,7 +1687,7 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
         if (deleteTime_ != null) {
           deleteTime_ =
-            com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(deleteTime_).mergeFrom(value).buildPartial();
         } else {
           deleteTime_ = value;
         }
@@ -1534,6 +1699,8 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1554,6 +1721,8 @@ public Builder clearDeleteTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1563,11 +1732,13 @@ public Builder clearDeleteTime() {
      * .google.protobuf.Timestamp delete_time = 5;
      */
     public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
-      
+
       onChanged();
       return getDeleteTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1580,11 +1751,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * Output only. The time when the snapshot will be deleted. The maximum amount
      * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -1594,14 +1768,17 @@ 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_;
@@ -1609,51 +1786,65 @@ 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; + * * @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; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.valueOf(state_); + com.google.bigtable.admin.v2.Snapshot.State result = + com.google.bigtable.admin.v2.Snapshot.State.valueOf(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; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1661,21 +1852,24 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. The current state of the snapshot.
      * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -1683,18 +1877,20 @@ public Builder clearState() { private java.lang.Object description_ = ""; /** + * + * *
      * Output only. 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; @@ -1703,20 +1899,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Output only. 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 { @@ -1724,61 +1921,68 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Output only. 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Description of the snapshot.
      * 
* * string description = 7; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Output only. 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -1788,12 +1992,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(); } @@ -1802,27 +2006,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; @@ -1837,6 +2041,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Snapshot 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/SnapshotName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java similarity index 82% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java index c1077b579e..332324988e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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 { /** + * + * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -15,10 +33,13 @@ public interface SnapshotOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The unique name of the snapshot.
    * Values are of the form
@@ -26,30 +47,38 @@ public interface SnapshotOrBuilder extends
    * 
* * 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; + * * @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; + * * @return The sourceTable. */ com.google.bigtable.admin.v2.Table getSourceTable(); /** + * + * *
    * Output only. The source table at the time the snapshot was taken.
    * 
@@ -59,6 +88,8 @@ public interface SnapshotOrBuilder extends 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
@@ -67,29 +98,38 @@ public interface SnapshotOrBuilder extends
    * 
* * int64 data_size_bytes = 3; + * * @return The dataSizeBytes. */ long getDataSizeBytes(); /** + * + * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The time when the snapshot is created.
    * 
* * .google.protobuf.Timestamp create_time = 4; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The time when the snapshot is created.
    * 
@@ -99,6 +139,8 @@ public interface SnapshotOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -106,10 +148,13 @@ public interface SnapshotOrBuilder extends
    * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -117,10 +162,13 @@ public interface SnapshotOrBuilder extends
    * 
* * .google.protobuf.Timestamp delete_time = 5; + * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** + * + * *
    * Output only. The time when the snapshot will be deleted. The maximum amount
    * of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
@@ -132,41 +180,52 @@ public interface SnapshotOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Output only. The current state of the snapshot.
    * 
* * .google.bigtable.admin.v2.Snapshot.State state = 6; + * * @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; + * * @return The state. */ com.google.bigtable.admin.v2.Snapshot.State getState(); /** + * + * *
    * Output only. Description of the snapshot.
    * 
* * string description = 7; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Output only. 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java index 374cf7eeee..a789b41783 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The metadata for the Operation returned by SnapshotTable.
  * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -14,51 +31,55 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -66,18 +87,25 @@ 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.
    * 
@@ -92,11 +120,14 @@ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalReq 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 @@ -104,11 +135,14 @@ 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 @@ -116,6 +150,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -130,11 +166,14 @@ 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 @@ -142,11 +181,14 @@ 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 @@ -154,6 +196,8 @@ 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.
    * 
@@ -166,6 +210,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -198,16 +242,13 @@ 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; @@ -217,27 +258,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.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; @@ -268,96 +307,103 @@ 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.
    * Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -368,33 +414,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -420,9 +465,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
@@ -441,7 +486,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);
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result =
+          new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
       if (originalRequestBuilder_ == null) {
         result.originalRequest_ = originalRequest_;
       } else {
@@ -465,38 +511,39 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata 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.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;
@@ -504,7 +551,8 @@ 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());
       }
@@ -540,33 +588,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getOriginalRequestFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getRequestTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getFinishTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -579,34 +625,47 @@ public Builder mergeFrom(
 
     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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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.
      * 
@@ -627,6 +686,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -645,6 +706,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -655,7 +718,9 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -667,6 +732,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -685,6 +752,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -692,26 +761,32 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequestBuilder() { - + onChanged(); 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.
      * 
@@ -719,14 +794,17 @@ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalReq * .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_; @@ -734,34 +812,47 @@ public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -782,14 +873,15 @@ 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(); onChanged(); @@ -800,6 +892,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -810,7 +904,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -822,6 +918,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -840,6 +938,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -847,11 +947,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -862,11 +964,14 @@ 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.
      * 
@@ -874,14 +979,17 @@ 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_; @@ -889,34 +997,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -937,14 +1058,15 @@ 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(); onChanged(); @@ -955,6 +1077,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -965,7 +1089,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -977,6 +1101,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -995,6 +1121,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1002,11 +1130,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1017,11 +1147,14 @@ 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.
      * 
@@ -1029,21 +1162,24 @@ 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); } @@ -1053,12 +1189,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(); } @@ -1067,27 +1203,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; @@ -1102,6 +1238,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableMetadata 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/SnapshotTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java index fb46fb7058..8a2eeb04bb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface SnapshotTableMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface SnapshotTableMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java index 1c7ab8a668..e759062c78 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -15,15 +32,16 @@
  *
  * 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_ = "";
@@ -33,39 +51,45 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -74,31 +98,33 @@ 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 { @@ -109,13 +135,18 @@ public java.lang.String getName() { public static final int CLUSTER_FIELD_NUMBER = 2; 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 @@ -124,31 +155,33 @@ 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 { @@ -159,6 +192,8 @@ public java.lang.String getCluster() { public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -167,6 +202,7 @@ public java.lang.String getCluster() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The snapshotId. */ @java.lang.Override @@ -175,14 +211,15 @@ 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -191,16 +228,15 @@ 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 { @@ -211,6 +247,8 @@ public java.lang.String getSnapshotId() { 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
@@ -219,6 +257,7 @@ public java.lang.String getSnapshotId() {
    * 
* * .google.protobuf.Duration ttl = 4; + * * @return Whether the ttl field is set. */ @java.lang.Override @@ -226,6 +265,8 @@ 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
@@ -234,6 +275,7 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; + * * @return The ttl. */ @java.lang.Override @@ -241,6 +283,8 @@ 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
@@ -258,11 +302,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
   private volatile java.lang.Object description_;
   /**
+   *
+   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -271,29 +318,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 { @@ -302,6 +349,7 @@ public java.lang.String getDescription() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,8 +361,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -349,8 +396,7 @@ 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_); @@ -363,26 +409,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.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; } @@ -412,96 +454,103 @@ 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]
@@ -513,33 +562,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -561,9 +609,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
@@ -582,7 +630,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);
+      com.google.bigtable.admin.v2.SnapshotTableRequest result =
+          new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
       result.name_ = name_;
       result.cluster_ = cluster_;
       result.snapshotId_ = snapshotId_;
@@ -600,38 +649,39 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest 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.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;
@@ -639,7 +689,8 @@ 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_;
         onChanged();
@@ -685,39 +736,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              cluster_ = input.readStringRequireUtf8();
+                break;
+              } // case 10
+            case 18:
+              {
+                cluster_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 18
-            case 26: {
-              snapshotId_ = input.readStringRequireUtf8();
+                break;
+              } // case 18
+            case 26:
+              {
+                snapshotId_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getTtlFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -730,20 +785,24 @@ public Builder mergeFrom(
 
     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; @@ -752,22 +811,25 @@ 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 { @@ -775,60 +837,73 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -836,20 +911,24 @@ public Builder setNameBytes( 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; @@ -858,22 +937,25 @@ 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 { @@ -881,60 +963,73 @@ 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) = { ... } + * + * * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster( - java.lang.String value) { + public Builder setCluster(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + cluster_ = value; 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() { - + cluster_ = getDefaultInstance().getCluster(); 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) = { ... } + * + * * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes( - com.google.protobuf.ByteString value) { + public Builder setClusterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + cluster_ = value; onChanged(); return this; @@ -942,6 +1037,8 @@ public Builder setClusterBytes( 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -950,13 +1047,13 @@ public Builder setClusterBytes(
      * 
* * 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; @@ -965,6 +1062,8 @@ 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -973,15 +1072,14 @@ 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 { @@ -989,6 +1087,8 @@ 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -997,20 +1097,22 @@ public java.lang.String getSnapshotId() {
      * 
* * 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) { + public Builder setSnapshotId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + snapshotId_ = value; 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1019,15 +1121,18 @@ public Builder setSnapshotId(
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearSnapshotId() { - + snapshotId_ = getDefaultInstance().getSnapshotId(); 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -1036,16 +1141,16 @@ 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) { + public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + snapshotId_ = value; onChanged(); return this; @@ -1053,8 +1158,13 @@ public Builder setSnapshotIdBytes( 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
@@ -1063,12 +1173,15 @@ public Builder setSnapshotIdBytes(
      * 
* * .google.protobuf.Duration ttl = 4; + * * @return Whether the ttl field is set. */ public boolean hasTtl() { return ttlBuilder_ != null || 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
@@ -1077,6 +1190,7 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; + * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1087,6 +1201,8 @@ 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
@@ -1110,6 +1226,8 @@ 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
@@ -1119,8 +1237,7 @@ 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();
         onChanged();
@@ -1131,6 +1248,8 @@ public Builder setTtl(
       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
@@ -1143,8 +1262,7 @@ public Builder setTtl(
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
         if (ttl_ != null) {
-          ttl_ =
-            com.google.protobuf.Duration.newBuilder(ttl_).mergeFrom(value).buildPartial();
+          ttl_ = com.google.protobuf.Duration.newBuilder(ttl_).mergeFrom(value).buildPartial();
         } else {
           ttl_ = value;
         }
@@ -1156,6 +1274,8 @@ 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
@@ -1177,6 +1297,8 @@ 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
@@ -1187,11 +1309,13 @@ public Builder clearTtl() {
      * .google.protobuf.Duration ttl = 4;
      */
     public com.google.protobuf.Duration.Builder getTtlBuilder() {
-      
+
       onChanged();
       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
@@ -1205,11 +1329,12 @@ 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
@@ -1220,14 +1345,16 @@ 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_;
@@ -1235,18 +1362,20 @@ 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; @@ -1255,20 +1384,21 @@ 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 { @@ -1276,61 +1406,68 @@ public java.lang.String getDescription() { } } /** + * + * *
      * 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) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Description of the snapshot.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); 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) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = 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); } @@ -1340,12 +1477,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(); } @@ -1354,27 +1491,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; @@ -1389,6 +1526,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableRequest 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/SnapshotTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java index 4642e732e7..292359964b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java @@ -1,61 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -64,10 +100,13 @@ public interface SnapshotTableRequestOrBuilder extends
    * 
* * 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: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
@@ -76,12 +115,14 @@ public interface SnapshotTableRequestOrBuilder extends
    * 
* * 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
@@ -90,10 +131,13 @@ public interface SnapshotTableRequestOrBuilder extends
    * 
* * .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
@@ -102,10 +146,13 @@ public interface SnapshotTableRequestOrBuilder extends
    * 
* * .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
@@ -118,22 +165,27 @@ public interface SnapshotTableRequestOrBuilder extends
   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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java index 146bd1e57f..7a408f3c89 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -21,6 +39,8 @@ public enum StorageType */ STORAGE_TYPE_UNSPECIFIED(0), /** + * + * *
    * Flash (SSD) storage should be used.
    * 
@@ -29,6 +49,8 @@ public enum StorageType */ SSD(1), /** + * + * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -40,6 +62,8 @@ public enum StorageType ; /** + * + * *
    * The user did not specify a storage type.
    * 
@@ -48,6 +72,8 @@ public enum StorageType */ public static final int STORAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Flash (SSD) storage should be used.
    * 
@@ -56,6 +82,8 @@ public enum StorageType */ public static final int SSD_VALUE = 1; /** + * + * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -64,7 +92,6 @@ public enum StorageType */ public static final int HDD_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,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< - 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() { + + 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() { 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; @@ -147,4 +174,3 @@ private StorageType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.StorageType) } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java index 6f88195dce..654ce87398 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -11,15 +28,16 @@
  *
  * 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;
@@ -27,44 +45,46 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Table();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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.
@@ -72,9 +92,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * 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.
@@ -84,6 +105,8 @@ public enum TimestampGranularity
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -95,6 +118,8 @@ public enum TimestampGranularity ; /** + * + * *
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -104,6 +129,8 @@ public enum TimestampGranularity
      */
     public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -112,7 +139,6 @@ public enum TimestampGranularity */ public static final int MILLIS_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,9 +163,12 @@ 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; } } @@ -147,28 +176,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); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + 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() { 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); } @@ -177,8 +206,7 @@ public TimestampGranularity findValueByNumber(int number) { 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; @@ -196,15 +224,18 @@ 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.
      * 
@@ -213,6 +244,8 @@ public enum View */ VIEW_UNSPECIFIED(0), /** + * + * *
      * Only populates `name`.
      * 
@@ -221,6 +254,8 @@ public enum View */ NAME_ONLY(1), /** + * + * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -229,6 +264,8 @@ public enum View */ SCHEMA_VIEW(2), /** + * + * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -238,6 +275,8 @@ public enum View
      */
     REPLICATION_VIEW(3),
     /**
+     *
+     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -246,6 +285,8 @@ public enum View */ ENCRYPTION_VIEW(5), /** + * + * *
      * Populates all fields.
      * 
@@ -257,6 +298,8 @@ public enum View ; /** + * + * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -265,6 +308,8 @@ public enum View */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Only populates `name`.
      * 
@@ -273,6 +318,8 @@ public enum View */ public static final int NAME_ONLY_VALUE = 1; /** + * + * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -281,6 +328,8 @@ public enum View */ public static final int SCHEMA_VIEW_VALUE = 2; /** + * + * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -290,6 +339,8 @@ public enum View
      */
     public static final int REPLICATION_VIEW_VALUE = 3;
     /**
+     *
+     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -298,6 +349,8 @@ public enum View */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** + * + * *
      * Populates all fields.
      * 
@@ -306,7 +359,6 @@ public enum View */ public static final int FULL_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -331,52 +383,55 @@ 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); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + 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() { 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; @@ -393,30 +448,43 @@ 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
@@ -425,11 +493,14 @@ public interface ClusterStateOrBuilder extends
      * 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
@@ -438,10 +509,14 @@ public interface ClusterStateOrBuilder extends
      * 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
@@ -450,10 +525,14 @@ public interface ClusterStateOrBuilder extends
      * 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
@@ -462,11 +541,15 @@ public interface ClusterStateOrBuilder extends
      * 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
@@ -475,27 +558,31 @@ public interface ClusterStateOrBuilder extends
      * 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(); @@ -503,39 +590,43 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ClusterState(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
        * 
@@ -544,6 +635,8 @@ public enum ReplicationState */ 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
@@ -554,6 +647,8 @@ public enum ReplicationState
        */
       INITIALIZING(1),
       /**
+       *
+       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -563,6 +658,8 @@ public enum ReplicationState
        */
       PLANNED_MAINTENANCE(2),
       /**
+       *
+       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -572,6 +669,8 @@ public enum ReplicationState
        */
       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
@@ -582,6 +681,8 @@ public enum ReplicationState
        */
       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
@@ -595,6 +696,8 @@ public enum ReplicationState
       ;
 
       /**
+       *
+       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -603,6 +706,8 @@ public enum ReplicationState */ 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
@@ -613,6 +718,8 @@ public enum ReplicationState
        */
       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.
@@ -622,6 +729,8 @@ public enum ReplicationState
        */
       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.
@@ -631,6 +740,8 @@ public enum ReplicationState
        */
       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
@@ -641,6 +752,8 @@ public enum ReplicationState
        */
       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
@@ -651,7 +764,6 @@ public enum ReplicationState
        */
       public static final int READY_OPTIMIZING_VALUE = 5;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -676,13 +788,20 @@ 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;
         }
       }
 
@@ -690,29 +809,31 @@ 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);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      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() {
         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();
@@ -720,8 +841,7 @@ public ReplicationState findValueByNumber(int number) {
       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;
@@ -741,33 +861,51 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int 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 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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf(replicationState_); - return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf( + replicationState_); + return result == null + ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED + : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; 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
@@ -776,13 +914,17 @@ private ReplicationState(int value) {
      * 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
@@ -791,14 +933,18 @@ 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
@@ -807,13 +953,17 @@ 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
@@ -822,13 +972,17 @@ 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
@@ -837,7 +991,9 @@ 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( @@ -846,6 +1002,7 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -857,9 +1014,10 @@ 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++) { @@ -874,13 +1032,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; @@ -890,16 +1048,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; } @@ -923,87 +1081,93 @@ 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 @@ -1013,39 +1177,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1062,9 +1228,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 @@ -1083,7 +1249,8 @@ 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); int from_bitField0_ = bitField0_; result.replicationState_ = replicationState_; if (encryptionInfoBuilder_ == null) { @@ -1103,38 +1270,41 @@ public com.google.bigtable.admin.v2.Table.ClusterState 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.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; @@ -1142,7 +1312,8 @@ 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()); } @@ -1164,9 +1335,10 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000001); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEncryptionInfoFieldBuilder() : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEncryptionInfoFieldBuilder() + : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1198,30 +1370,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - replicationState_ = input.readEnum(); - - 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(); + + 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) { @@ -1231,95 +1405,135 @@ 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. */ public Builder setReplicationStateValue(int value) { - + replicationState_ = value; onChanged(); 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() { + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState + getReplicationState() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf(replicationState_); - return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.valueOf( + 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(); } - + replicationState_ = value.getNumber(); onChanged(); 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() { - + replicationState_ = 0; onChanged(); return this; } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = + new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000001; - } + } } 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
@@ -1328,7 +1542,9 @@ 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) { @@ -1338,6 +1554,8 @@ 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
@@ -1346,7 +1564,9 @@ 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) { @@ -1356,6 +1576,8 @@ 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
@@ -1364,7 +1586,9 @@ 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) { @@ -1374,6 +1598,8 @@ 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
@@ -1382,7 +1608,9 @@ 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) { @@ -1399,6 +1627,8 @@ 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
@@ -1407,7 +1637,9 @@ 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) { @@ -1421,6 +1653,8 @@ 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
@@ -1429,7 +1663,9 @@ 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) { @@ -1445,6 +1681,8 @@ 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
@@ -1453,7 +1691,9 @@ 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) { @@ -1470,6 +1710,8 @@ 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
@@ -1478,7 +1720,9 @@ 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) { @@ -1492,6 +1736,8 @@ 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
@@ -1500,7 +1746,9 @@ 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) { @@ -1514,6 +1762,8 @@ 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
@@ -1522,14 +1772,15 @@ 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); @@ -1537,6 +1788,8 @@ 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
@@ -1545,7 +1798,9 @@ 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) { @@ -1558,6 +1813,8 @@ 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
@@ -1566,7 +1823,9 @@ 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) { @@ -1579,6 +1838,8 @@ 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
@@ -1587,13 +1848,17 @@ 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
@@ -1602,16 +1867,21 @@ 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
@@ -1620,10 +1890,12 @@ 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 { @@ -1631,6 +1903,8 @@ 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
@@ -1639,13 +1913,17 @@ 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
@@ -1654,14 +1932,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 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
@@ -1670,18 +1952,26 @@ 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_ & 0x00000001) != 0), getParentForChildren(), @@ -1690,6 +1980,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil } return encryptionInfoBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1702,12 +1993,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(); } @@ -1716,27 +2007,28 @@ 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; @@ -1751,12 +2043,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; 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]*`.
@@ -1764,6 +2057,7 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1772,14 +2066,15 @@ 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]*`.
@@ -1787,16 +2082,15 @@ 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 { @@ -1805,21 +2099,29 @@ public java.lang.String getName() { } 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()); } + + 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> clusterStates_; - private com.google.protobuf.MapField - internalGetClusterStates() { + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterStatesDefaultEntryHolder.defaultEntry); @@ -1831,6 +2133,8 @@ 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
@@ -1839,24 +2143,27 @@ 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
@@ -1865,14 +2172,18 @@ public java.util.Map
    *
-   * 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
@@ -1881,19 +2192,23 @@ public java.util.Map
    *
-   * 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 getClusterStatesOrDefault(
-      java.lang.String key,
-      com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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
@@ -1902,13 +2217,16 @@ public 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]; + * */ @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)) { @@ -1918,21 +2236,26 @@ 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()); } - 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); @@ -1944,6 +2267,8 @@ public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** + * + * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -1951,22 +2276,23 @@ 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`, `FULL`
@@ -1975,11 +2301,13 @@ public java.util.Mapmap<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`, `FULL`
@@ -1988,16 +2316,18 @@ public java.util.Mapmap<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-
   public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
-      java.lang.String key,
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      java.lang.String 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`, `FULL`
@@ -2006,10 +2336,10 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 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)) {
@@ -2021,6 +2351,8 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_;
   /**
+   *
+   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
    * table. Timestamps not matching the granularity will be rejected.
@@ -2028,13 +2360,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * Views: `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.
@@ -2042,24 +2380,36 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * Views: `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() { + @java.lang.Override + public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.valueOf(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.valueOf(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 @@ -2067,25 +2417,36 @@ 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() { @@ -2095,6 +2456,8 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder public static final int DELETION_PROTECTION_FIELD_NUMBER = 9; 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:
@@ -2105,6 +2468,7 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * bool deletion_protection = 9; + * * @return The deletionProtection. */ @java.lang.Override @@ -2113,6 +2477,7 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2124,24 +2489,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - 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) { @@ -2162,37 +2520,39 @@ 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 - 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< + 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()) { 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 (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2202,27 +2562,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.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 (getDeletionProtection() - != other.getDeletionProtection()) return false; + if (getDeletionProtection() != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2251,104 +2606,109 @@ public int hashCode() { hash = (53 * hash) + getRestoreInfo().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.
@@ -2356,59 +2716,56 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2430,9 +2787,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
@@ -2473,38 +2830,39 @@ public com.google.bigtable.admin.v2.Table 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.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;
@@ -2517,10 +2875,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         name_ = other.name_;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(
-          other.internalGetClusterStates());
-      internalGetMutableColumnFamilies().mergeFrom(
-          other.internalGetColumnFamilies());
+      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
+      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
       }
@@ -2556,50 +2912,63 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              clusterStates__ = input.readMessage(
-                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableClusterStates().getMutableMap().put(
-                  clusterStates__.getKey(), clusterStates__.getValue());
-              break;
-            } // case 18
-            case 26: {
-              com.google.protobuf.MapEntry
-              columnFamilies__ = input.readMessage(
-                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableColumnFamilies().getMutableMap().put(
-                  columnFamilies__.getKey(), columnFamilies__.getValue());
-              break;
-            } // case 26
-            case 32: {
-              granularity_ = input.readEnum();
+                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());
+                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());
+                break;
+              } // case 26
+            case 32:
+              {
+                granularity_ = input.readEnum();
 
-              break;
-            } // case 32
-            case 50: {
-              input.readMessage(
-                  getRestoreInfoFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 32
+            case 50:
+              {
+                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 50
-            case 72: {
-              deletionProtection_ = input.readBool();
+                break;
+              } // case 50
+            case 72:
+              {
+                deletionProtection_ = input.readBool();
 
-              break;
-            } // case 72
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -2609,10 +2978,13 @@ 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]*`.
@@ -2620,13 +2992,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; @@ -2635,6 +3007,8 @@ 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]*`.
@@ -2642,15 +3016,14 @@ 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 { @@ -2658,6 +3031,8 @@ 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]*`.
@@ -2665,20 +3040,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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]*`.
@@ -2686,15 +3063,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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]*`.
@@ -2702,37 +3082,43 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; - private com.google.protobuf.MapField - internalGetClusterStates() { + 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() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterStatesDefaultEntryHolder.defaultEntry); } return clusterStates_; } - private com.google.protobuf.MapField - internalGetMutableClusterStates() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + internalGetMutableClusterStates() { + onChanged(); + ; 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(); @@ -2744,6 +3130,8 @@ 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
@@ -2752,24 +3140,27 @@ 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
@@ -2778,14 +3169,18 @@ public java.util.Map
      *
-     * 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
@@ -2794,19 +3189,23 @@ public java.util.Map
      *
-     * 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 getClusterStatesOrDefault(
-        java.lang.String key,
-        com.google.bigtable.admin.v2.Table.ClusterState defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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
@@ -2815,13 +3214,16 @@ public 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]; + * */ @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)) { @@ -2831,11 +3233,12 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public Builder clearClusterStates() { - 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
@@ -2844,25 +3247,26 @@ 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() { + getMutableClusterStates() { 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
@@ -2871,21 +3275,25 @@ public Builder removeClusterStates(
      * 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"); } + 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"); -} + throw new NullPointerException("map value"); + } - internalGetMutableClusterStates().getMutableMap() - .put(key, value); + internalGetMutableClusterStates().getMutableMap().put(key, value); 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
@@ -2894,32 +3302,38 @@ 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); return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; - private com.google.protobuf.MapField - internalGetColumnFamilies() { + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + columnFamilies_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } - private com.google.protobuf.MapField - internalGetMutableColumnFamilies() { - onChanged();; + + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + internalGetMutableColumnFamilies() { + onChanged(); + ; 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(); @@ -2931,6 +3345,8 @@ public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** + * + * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -2938,22 +3354,23 @@ 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`, `FULL`
@@ -2962,11 +3379,13 @@ public java.util.Mapmap<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`, `FULL`
@@ -2975,16 +3394,18 @@ public java.util.Mapmap<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-
     public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
-        java.lang.String key,
-        com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
+        java.lang.String 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`, `FULL`
@@ -2993,10 +3414,11 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
      * 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"); }
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       if (!map.containsKey(key)) {
@@ -3006,11 +3428,12 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
     }
 
     public Builder clearColumnFamilies() {
-      internalGetMutableColumnFamilies().getMutableMap()
-          .clear();
+      internalGetMutableColumnFamilies().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3018,23 +3441,22 @@ 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() {
+        getMutableColumnFamilies() {
       return internalGetMutableColumnFamilies().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3043,18 +3465,20 @@ public Builder removeColumnFamilies(
      * 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"); }
+        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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableColumnFamilies().getMutableMap()
-          .put(key, value);
+      internalGetMutableColumnFamilies().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `FULL`
@@ -3062,16 +3486,16 @@ public Builder putColumnFamilies(
      *
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
-
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      internalGetMutableColumnFamilies().getMutableMap()
-          .putAll(values);
+      internalGetMutableColumnFamilies().getMutableMap().putAll(values);
       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.
@@ -3079,13 +3503,19 @@ public Builder putAllColumnFamilies(
      * Views: `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.
@@ -3093,17 +3523,22 @@ public Builder putAllColumnFamilies(
      * Views: `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. */ public Builder setGranularityValue(int value) { - + granularity_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3111,16 +3546,24 @@ public Builder setGranularityValue(int value) {
      * Views: `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() { @SuppressWarnings("deprecation") - com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.valueOf(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.valueOf(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.
@@ -3128,7 +3571,10 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity()
      * Views: `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. */ @@ -3136,12 +3582,14 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul if (value == null) { throw new NullPointerException(); } - + granularity_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
      * table. Timestamps not matching the granularity will be rejected.
@@ -3149,11 +3597,14 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul
      * Views: `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() { - + granularity_ = 0; onChanged(); return this; @@ -3161,42 +3612,61 @@ 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 restoreInfoBuilder_ != null || 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. */ 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) { @@ -3212,12 +3682,16 @@ 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) { @@ -3231,18 +3705,24 @@ 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 (restoreInfo_ != null) { restoreInfo_ = - com.google.bigtable.admin.v2.RestoreInfo.newBuilder(restoreInfo_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.RestoreInfo.newBuilder(restoreInfo_) + .mergeFrom(value) + .buildPartial(); } else { restoreInfo_ = value; } @@ -3254,12 +3734,16 @@ 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() { if (restoreInfoBuilder_ == null) { @@ -3273,58 +3757,76 @@ 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() { - + onChanged(); 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_; } - 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:
@@ -3335,6 +3837,7 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * bool deletion_protection = 9; + * * @return The deletionProtection. */ @java.lang.Override @@ -3342,6 +3845,8 @@ 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:
@@ -3352,16 +3857,19 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; + * * @param value The deletionProtection to set. * @return This builder for chaining. */ public Builder setDeletionProtection(boolean value) { - + deletionProtection_ = value; onChanged(); return this; } /** + * + * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -3372,17 +3880,18 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; + * * @return This builder for chaining. */ public Builder clearDeletionProtection() { - + deletionProtection_ = false; 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); } @@ -3392,12 +3901,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(); } @@ -3406,27 +3915,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; @@ -3441,6 +3950,4 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.bigtable.admin.v2.Table 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/TableName.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java index c06a649c4e..d27cc5d252 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]*`.
@@ -15,10 +33,13 @@ public interface TableOrBuilder extends
    * 
* * 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]*`.
@@ -26,12 +47,14 @@ public interface TableOrBuilder extends
    * 
* * 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
@@ -40,10 +63,14 @@ public interface TableOrBuilder extends
    * 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
@@ -52,17 +79,18 @@ public interface TableOrBuilder extends
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * 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. + * + * 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. */ @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
@@ -71,11 +99,15 @@ boolean containsClusterStates(
    * 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
@@ -84,15 +116,19 @@ boolean containsClusterStates(
    * 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
@@ -101,13 +137,15 @@ 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`, `FULL`
@@ -117,6 +155,8 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow(
    */
   int getColumnFamiliesCount();
   /**
+   *
+   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `FULL`
@@ -124,15 +164,13 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow(
    *
    * 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`, `FULL`
@@ -140,9 +178,10 @@ boolean containsColumnFamilies(
    *
    * 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`, `FULL`
@@ -152,11 +191,13 @@ boolean containsColumnFamilies(
    */
 
   /* 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`, `FULL`
@@ -164,11 +205,11 @@ 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.
@@ -176,11 +217,16 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * Views: `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.
@@ -188,42 +234,61 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * Views: `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(); /** + * + * *
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -234,6 +299,7 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
    * 
* * bool deletion_protection = 9; + * * @return The deletionProtection. */ boolean getDeletionProtection(); 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 new file mode 100644 index 0000000000..c6ca5e60c2 --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -0,0 +1,339 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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_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\"\216\t\n\005Table\022\014\n\004name\030\001 \001(\t\022O\n\016" + + "cluster_states\030\002 \003(\01322.google.bigtable.a" + + "dmin.v2.Table.ClusterStatesEntryB\003\340A\003\022L\n" + + "\017column_families\030\003 \003(\01323.google.bigtable" + + ".admin.v2.Table.ColumnFamiliesEntry\022N\n\013g" + + "ranularity\030\004 \001(\01624.google.bigtable.admin" + + ".v2.Table.TimestampGranularityB\003\340A\005\022@\n\014r" + + "estore_info\030\006 \001(\0132%.google.bigtable.admi" + + "n.v2.RestoreInfoB\003\340A\003\022\033\n\023deletion_protec" + + "tion\030\t \001(\010\032\306\002\n\014ClusterState\022]\n\021replicati" + + "on_state\030\001 \001(\0162=.google.bigtable.admin.v" + + "2.Table.ClusterState.ReplicationStateB\003\340" + + "A\003\022F\n\017encryption_info\030\002 \003(\0132(.google.big" + + "table.admin.v2.EncryptionInfoB\003\340A\003\"\216\001\n\020R" + + "eplicationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014" + + "INITIALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022" + + "\031\n\025UNPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n" + + "\020READY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntr" + + "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.b" + + "igtable.admin.v2.Table.ClusterState:\0028\001\032" + + "]\n\023ColumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005v" + + "alue\030\002 \001(\0132&.google.bigtable.admin.v2.Co" + + "lumnFamily:\0028\001\"I\n\024TimestampGranularity\022%" + + "\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n" + + "\006MILLIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022" + + "\r\n\tNAME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLI" + + "CATION_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FU" + + "LL\020\004:_\352A\\\n\"bigtableadmin.googleapis.com/" + + "Table\0226projects/{project}/instances/{ins" + + "tance}/tables/{table}\"A\n\014ColumnFamily\0221\n" + + "\007gc_rule\030\001 \001(\0132 .google.bigtable.admin.v" + + "2.GcRule\"\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.protob" + + "uf.DurationH\000\022E\n\014intersection\030\003 \001(\0132-.go" + + "ogle.bigtable.admin.v2.GcRule.Intersecti" + + "onH\000\0227\n\005union\030\004 \001(\0132&.google.bigtable.ad" + + "min.v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n" + + "\005rules\030\001 \003(\0132 .google.bigtable.admin.v2." + + "GcRule\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google." + + "bigtable.admin.v2.GcRuleB\006\n\004rule\"\331\002\n\016Enc" + + "ryptionInfo\022U\n\017encryption_type\030\003 \001(\01627.g" + + "oogle.bigtable.admin.v2.EncryptionInfo.E" + + "ncryptionTypeB\003\340A\003\0222\n\021encryption_status\030" + + "\004 \001(\0132\022.google.rpc.StatusB\003\340A\003\022I\n\017kms_ke" + + "y_version\030\002 \001(\tB0\340A\003\372A*\n(cloudkms.google" + + "apis.com/CryptoKeyVersion\"q\n\016EncryptionT" + + "ype\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031" + + "GOOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_" + + "MANAGED_ENCRYPTION\020\002\"\314\003\n\010Snapshot\022\014\n\004nam" + + "e\030\001 \001(\t\0225\n\014source_table\030\002 \001(\0132\037.google.b" + + "igtable.admin.v2.Table\022\027\n\017data_size_byte" + + "s\030\003 \001(\003\022/\n\013create_time\030\004 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013delete_time\030\005 \001(\0132\032." + + "google.protobuf.Timestamp\0227\n\005state\030\006 \001(\016" + + "2(.google.bigtable.admin.v2.Snapshot.Sta" + + "te\022\023\n\013description\030\007 \001(\t\"5\n\005State\022\023\n\017STAT" + + "E_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014\n\010CREATING\020\002:{" + + "\352Ax\n%bigtableadmin.googleapis.com/Snapsh" + + "ot\022Oprojects/{project}/instances/{instan" + + "ce}/clusters/{cluster}/snapshots/{snapsh" + + "ot}\"\237\004\n\006Backup\022\014\n\004name\030\001 \001(\t\022\034\n\014source_t" + + "able\030\002 \001(\tB\006\340A\005\340A\002\0224\n\013expire_time\030\003 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\002\0223\n\nstar" + + "t_time\030\004 \001(\0132\032.google.protobuf.Timestamp" + + "B\003\340A\003\0221\n\010end_time\030\005 \001(\0132\032.google.protobu" + + "f.TimestampB\003\340A\003\022\027\n\nsize_bytes\030\006 \001(\003B\003\340A" + + "\003\022:\n\005state\030\007 \001(\0162&.google.bigtable.admin" + + ".v2.Backup.StateB\003\340A\003\022F\n\017encryption_info" + + "\030\t \001(\0132(.google.bigtable.admin.v2.Encryp" + + "tionInfoB\003\340A\003\"7\n\005State\022\025\n\021STATE_UNSPECIF" + + "IED\020\000\022\014\n\010CREATING\020\001\022\t\n\005READY\020\002:u\352Ar\n#big" + + "tableadmin.googleapis.com/Backup\022Kprojec" + + "ts/{project}/instances/{instance}/cluste" + + "rs/{cluster}/backups/{backup}\"\244\001\n\nBackup" + + "Info\022\023\n\006backup\030\001 \001(\tB\003\340A\003\0223\n\nstart_time\030" + + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221" + + "\n\010end_time\030\003 \001(\0132\032.google.protobuf.Times" + + "tampB\003\340A\003\022\031\n\014source_table\030\004 \001(\tB\003\340A\003*D\n\021" + + "RestoreSourceType\022#\n\037RESTORE_SOURCE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n\034com.googl" + + "e.bigtable.admin.v2B\nTableProtoP\001Z=googl" + + "e.golang.org/genproto/googleapis/bigtabl" + + "e/admin/v2;admin\252\002\036Google.Cloud.Bigtable" + + ".Admin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\" + + "V2\352\002\"Google::Cloud::Bigtable::Admin::V2\352" + + "A\246\001\n(cloudkms.googleapis.com/CryptoKeyVe" + + "rsion\022zprojects/{project}/locations/{loc" + + "ation}/keyRings/{key_ring}/cryptoKeys/{c" + + "rypto_key}/cryptoKeyVersions/{crypto_key" + + "_version}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + 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_Table_descriptor = + getDescriptor().getMessageTypes().get(1); + 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", + "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(2); + 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(3); + 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(4); + 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(5); + 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(6); + 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", + "ExpireTime", + "StartTime", + "EndTime", + "SizeBytes", + "State", + "EncryptionInfo", + }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(7); + 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", + }); + 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java index 3163ce25ac..383ba6159a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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].
@@ -11,52 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -65,29 +87,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 { @@ -98,11 +120,14 @@ public java.lang.String getName() { 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 @@ -110,11 +135,14 @@ 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 @@ -122,6 +150,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -136,11 +166,14 @@ 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 @@ -148,11 +181,14 @@ 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 @@ -160,6 +196,8 @@ 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.
    * 
@@ -172,6 +210,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -207,12 +245,10 @@ 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; @@ -222,24 +258,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.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; @@ -268,96 +302,103 @@ 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].
@@ -365,33 +406,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +453,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
@@ -434,7 +474,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);
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result =
+          new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -454,38 +495,39 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata 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.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;
@@ -493,7 +535,8 @@ 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_;
         onChanged();
@@ -530,31 +573,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -567,18 +610,20 @@ public Builder mergeFrom(
 
     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; @@ -587,20 +632,21 @@ 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 { @@ -608,54 +654,61 @@ public java.lang.String getName() { } } /** + * + * *
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the table being restored.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -663,24 +716,33 @@ public Builder setNameBytes( 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -691,6 +753,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -711,14 +775,15 @@ 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(); onChanged(); @@ -729,6 +794,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -739,7 +806,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -751,6 +818,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -769,6 +838,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -776,11 +847,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -791,11 +864,12 @@ 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.
      * 
@@ -803,14 +877,17 @@ 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_; @@ -818,24 +895,33 @@ 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -846,6 +932,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -866,14 +954,15 @@ 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(); onChanged(); @@ -884,6 +973,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -894,7 +985,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -906,6 +997,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -924,6 +1017,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -931,11 +1026,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -946,11 +1043,12 @@ 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.
      * 
@@ -958,21 +1056,24 @@ 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); } @@ -982,12 +1083,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(); } @@ -996,27 +1097,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; @@ -1031,6 +1132,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableMetadata 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/UndeleteTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java index 1931771c95..11ec2851d4 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -55,24 +84,32 @@ public interface UndeleteTableMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java index 7376b2f223..1416ee41cd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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]
@@ -11,54 +28,61 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -67,31 +91,33 @@ 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 { @@ -100,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -111,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -136,15 +162,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; } @@ -164,96 +190,103 @@ 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]
@@ -261,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,9 +329,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
@@ -318,7 +350,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);
+      com.google.bigtable.admin.v2.UndeleteTableRequest result =
+          new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -328,38 +361,39 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest 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.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;
@@ -367,7 +401,8 @@ 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_;
         onChanged();
@@ -398,17 +433,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+
+                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) {
@@ -421,20 +458,24 @@ public Builder mergeFrom(
 
     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; @@ -443,22 +484,25 @@ 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 { @@ -466,67 +510,80 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = 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); } @@ -536,12 +593,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(); } @@ -550,27 +607,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; @@ -585,6 +642,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..15fe8edcae --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java index bcd214c21c..c8f33f9e7a 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -78,12 +96,13 @@ public int 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; @@ -102,129 +121,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +258,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 @@ -253,7 +279,8 @@ 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; } @@ -262,38 +289,39 @@ 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; @@ -301,7 +329,8 @@ 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; @@ -328,12 +357,13 @@ 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) { @@ -343,9 +373,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); } @@ -355,12 +385,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(); } @@ -369,27 +399,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; @@ -404,6 +434,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..85c13fe4ee --- /dev/null +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 2c092289fa..10c54caa1c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,23 +85,34 @@ 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() { @@ -88,12 +122,16 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() 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 @@ -101,12 +139,16 @@ 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 @@ -114,12 +156,15 @@ 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() { @@ -129,11 +174,14 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_; /** + * + * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; + * * @return The ignoreWarnings. */ @java.lang.Override @@ -142,6 +190,7 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +202,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -174,16 +222,13 @@ 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; @@ -193,25 +238,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.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; } @@ -232,137 +275,142 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +432,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 @@ -405,7 +453,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); + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = + new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); if (appProfileBuilder_ == null) { result.appProfile_ = appProfile_; } else { @@ -425,38 +474,39 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest 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.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; @@ -464,7 +514,8 @@ 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()); } @@ -500,31 +551,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getAppProfileFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 24: { - ignoreWarnings_ = input.readBool(); + break; + } // case 18 + case 24: + { + ignoreWarnings_ = input.readBool(); - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -537,39 +588,58 @@ public Builder mergeFrom( 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 appProfileBuilder_ != null || 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. */ 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) { @@ -585,14 +655,17 @@ 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(); onChanged(); @@ -603,17 +676,23 @@ public Builder setAppProfile( 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 (appProfile_ != null) { appProfile_ = - com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_) + .mergeFrom(value) + .buildPartial(); } else { appProfile_ = value; } @@ -625,11 +704,15 @@ 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() { if (appProfileBuilder_ == null) { @@ -643,48 +726,64 @@ 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() { - + onChanged(); 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_; @@ -692,42 +791,58 @@ 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 updateMaskBuilder_ != null || 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. */ 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) { @@ -743,15 +858,17 @@ 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(); onChanged(); @@ -762,18 +879,21 @@ public Builder setUpdateMask( 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -785,12 +905,15 @@ 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() { if (updateMaskBuilder_ == null) { @@ -804,63 +927,79 @@ 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() { - + onChanged(); 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 @@ -868,37 +1007,43 @@ 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. */ public Builder setIgnoreWarnings(boolean value) { - + ignoreWarnings_ = value; onChanged(); return this; } /** + * + * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; + * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { - + ignoreWarnings_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -908,12 +1053,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(); } @@ -922,27 +1067,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; @@ -957,6 +1102,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileRequest 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/UpdateAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java index e42fa05591..08e475ad27 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java @@ -1,75 +1,119 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java index d8bee49881..a4311ef7bc 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
  * 
* * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
@@ -57,7 +77,9 @@ protected java.lang.Object newInstance(
    *  * `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 @@ -65,6 +87,8 @@ 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.
@@ -72,7 +96,9 @@ 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 @@ -80,6 +106,8 @@ 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.
@@ -87,7 +115,8 @@ 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() { @@ -97,6 +126,8 @@ 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
@@ -105,7 +136,9 @@ 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 @@ -113,6 +146,8 @@ 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
@@ -121,7 +156,9 @@ 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 @@ -129,6 +166,8 @@ 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
@@ -137,7 +176,8 @@ 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() { @@ -145,6 +185,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -156,8 +197,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -174,12 +214,10 @@ 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; @@ -189,22 +227,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.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; @@ -230,130 +267,136 @@ 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].
    * 
* * 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +416,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 @@ -394,7 +437,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); + com.google.bigtable.admin.v2.UpdateBackupRequest result = + new com.google.bigtable.admin.v2.UpdateBackupRequest(this); if (backupBuilder_ == null) { result.backup_ = backup_; } else { @@ -413,38 +457,39 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest 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.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; @@ -452,7 +497,8 @@ 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()); } @@ -485,26 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getBackupFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -517,8 +562,13 @@ public Builder mergeFrom( 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.
@@ -526,13 +576,17 @@ 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 backupBuilder_ != null || 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.
@@ -540,7 +594,9 @@ 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() { @@ -551,6 +607,8 @@ 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.
@@ -558,7 +616,8 @@ 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) { @@ -574,6 +633,8 @@ 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.
@@ -581,10 +642,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(); onChanged(); @@ -595,6 +656,8 @@ public Builder setBackup( 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.
@@ -602,13 +665,16 @@ public Builder setBackup(
      *  * `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 (backup_ != null) { backup_ = - com.google.bigtable.admin.v2.Backup.newBuilder(backup_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Backup.newBuilder(backup_) + .mergeFrom(value) + .buildPartial(); } else { backup_ = value; } @@ -620,6 +686,8 @@ 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.
@@ -627,7 +695,8 @@ 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() { if (backupBuilder_ == null) { @@ -641,6 +710,8 @@ 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.
@@ -648,14 +719,17 @@ 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() { - + onChanged(); 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.
@@ -663,17 +737,19 @@ 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.
@@ -681,17 +757,21 @@ 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_; @@ -699,8 +779,13 @@ 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
@@ -709,13 +794,17 @@ 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 updateMaskBuilder_ != null || 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
@@ -724,17 +813,23 @@ 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
@@ -743,7 +838,8 @@ 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) { @@ -759,6 +855,8 @@ 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
@@ -767,10 +865,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(); onChanged(); @@ -781,6 +879,8 @@ public Builder setUpdateMask( 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
@@ -789,13 +889,14 @@ public Builder setUpdateMask(
      * 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -807,6 +908,8 @@ 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
@@ -815,7 +918,8 @@ 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() { if (updateMaskBuilder_ == null) { @@ -829,6 +933,8 @@ 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
@@ -837,14 +943,17 @@ 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() { - + onChanged(); 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
@@ -853,17 +962,21 @@ 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
@@ -872,24 +985,28 @@ 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); } @@ -899,12 +1016,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(); } @@ -913,27 +1030,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; @@ -948,6 +1065,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateBackupRequest 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/UpdateBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java index d845257ec5..40e8398743 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -15,11 +33,15 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `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.
@@ -27,11 +49,15 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `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.
@@ -39,11 +65,14 @@ public interface UpdateBackupRequestOrBuilder extends
    *  * `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
@@ -52,11 +81,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * 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
@@ -65,11 +98,15 @@ public interface UpdateBackupRequestOrBuilder extends
    * 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
@@ -78,7 +115,8 @@ public interface UpdateBackupRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java index 71b093af76..87faae7b1c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,18 +83,25 @@ 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.
    * 
@@ -88,11 +116,14 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder 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 @@ -100,11 +131,14 @@ 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 @@ -112,6 +146,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -126,11 +162,14 @@ 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 @@ -138,11 +177,14 @@ 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 @@ -150,6 +192,8 @@ 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.
    * 
@@ -162,6 +206,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -194,16 +238,13 @@ 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; @@ -213,27 +254,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.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; @@ -264,129 +303,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +457,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 @@ -433,7 +478,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); + com.google.bigtable.admin.v2.UpdateClusterMetadata result = + new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -457,38 +503,39 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata 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.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; @@ -496,7 +543,8 @@ 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()); } @@ -532,33 +580,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -571,34 +617,47 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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.
      * 
@@ -619,6 +678,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -637,6 +698,8 @@ public Builder setOriginalRequest( return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -647,7 +710,9 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) if (originalRequestBuilder_ == null) { if (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.Cluster.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Cluster.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -659,6 +724,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -677,6 +744,8 @@ public Builder clearOriginalRequest() { return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -684,11 +753,13 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.Cluster original_request = 1; */ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() { - + onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** + * + * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -699,11 +770,14 @@ 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.
      * 
@@ -711,14 +785,17 @@ 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_; @@ -726,34 +803,47 @@ 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -774,14 +864,15 @@ 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(); onChanged(); @@ -792,6 +883,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -802,7 +895,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -814,6 +909,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -832,6 +929,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -839,11 +938,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -854,11 +955,14 @@ 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.
      * 
@@ -866,14 +970,17 @@ 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_; @@ -881,34 +988,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -929,14 +1049,15 @@ 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(); onChanged(); @@ -947,6 +1068,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -957,7 +1080,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -969,6 +1092,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -987,6 +1112,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -994,11 +1121,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1009,11 +1138,14 @@ 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.
      * 
@@ -1021,21 +1153,24 @@ 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); } @@ -1045,12 +1180,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(); } @@ -1059,27 +1194,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; @@ -1094,6 +1229,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateClusterMetadata 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/UpdateClusterMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java index 97f5df8e20..4122ab7dcc 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface UpdateClusterMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface UpdateClusterMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java index 5e6ed18aa7..462d1afca9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,18 +83,25 @@ 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.
    * 
@@ -81,18 +109,22 @@ 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() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder + getOriginalRequestOrBuilder() { return getOriginalRequest(); } 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 @@ -100,11 +132,14 @@ 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 @@ -112,6 +147,8 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** + * + * *
    * The time at which the original request was received.
    * 
@@ -126,11 +163,14 @@ 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 @@ -138,11 +178,14 @@ 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 @@ -150,6 +193,8 @@ 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.
    * 
@@ -162,6 +207,7 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,8 +219,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -194,16 +239,13 @@ 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; @@ -213,27 +255,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.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; @@ -264,129 +304,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,9 +458,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 @@ -433,7 +479,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); + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = + new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); if (originalRequestBuilder_ == null) { result.originalRequest_ = originalRequest_; } else { @@ -457,38 +504,39 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata 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.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; @@ -496,7 +544,8 @@ 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()); } @@ -532,33 +581,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getOriginalRequestFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getRequestTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getFinishTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -571,41 +618,55 @@ public Builder mergeFrom( 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 originalRequestBuilder_ != null || originalRequest_ != null; } /** + * + * *
      * 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(); @@ -619,6 +680,8 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInst return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -637,17 +700,22 @@ 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 (originalRequest_ != null) { originalRequest_ = - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder(originalRequest_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder(originalRequest_) + .mergeFrom(value) + .buildPartial(); } else { originalRequest_ = value; } @@ -659,6 +727,8 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateIn return this; } /** + * + * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -677,33 +747,42 @@ 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() { + 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.
      * 
@@ -711,14 +790,17 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOri * .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_; @@ -726,34 +808,47 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOri 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 requestTimeBuilder_ != null || requestTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -774,14 +869,15 @@ 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(); onChanged(); @@ -792,6 +888,8 @@ public Builder setRequestTime( return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -802,7 +900,9 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { if (requestTime_ != null) { requestTime_ = - com.google.protobuf.Timestamp.newBuilder(requestTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(requestTime_) + .mergeFrom(value) + .buildPartial(); } else { requestTime_ = value; } @@ -814,6 +914,8 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -832,6 +934,8 @@ public Builder clearRequestTime() { return this; } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -839,11 +943,13 @@ public Builder clearRequestTime() { * .google.protobuf.Timestamp request_time = 2; */ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { - + onChanged(); return getRequestTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the original request was received.
      * 
@@ -854,11 +960,14 @@ 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.
      * 
@@ -866,14 +975,17 @@ 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_; @@ -881,34 +993,47 @@ 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 finishTimeBuilder_ != null || finishTime_ != null; } /** + * + * *
      * 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.
      * 
@@ -929,14 +1054,15 @@ 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(); onChanged(); @@ -947,6 +1073,8 @@ public Builder setFinishTime( return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -957,7 +1085,7 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { if (finishTime_ != null) { finishTime_ = - com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(finishTime_).mergeFrom(value).buildPartial(); } else { finishTime_ = value; } @@ -969,6 +1097,8 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -987,6 +1117,8 @@ public Builder clearFinishTime() { return this; } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -994,11 +1126,13 @@ public Builder clearFinishTime() { * .google.protobuf.Timestamp finish_time = 3; */ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { - + onChanged(); return getFinishTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1009,11 +1143,14 @@ 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.
      * 
@@ -1021,21 +1158,24 @@ 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); } @@ -1045,12 +1185,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(); } @@ -1059,27 +1199,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; @@ -1094,6 +1234,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateInstanceMetadata 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/UpdateInstanceMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java index b7711996fe..4191fb0e8e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface UpdateInstanceMetadataOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface UpdateInstanceMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java index aa43396174..8a951e94b0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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].
@@ -11,52 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -65,29 +87,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 { @@ -98,11 +120,14 @@ public java.lang.String getName() { 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 @@ -110,11 +135,14 @@ 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 @@ -122,6 +150,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time at which this operation started.
    * 
@@ -136,11 +166,14 @@ 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 @@ -148,11 +181,14 @@ 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 @@ -160,6 +196,8 @@ 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.
    * 
@@ -172,6 +210,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +222,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -207,12 +245,10 @@ 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; @@ -222,24 +258,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.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; @@ -267,97 +301,104 @@ 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].
@@ -365,33 +406,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -413,9 +453,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
@@ -434,7 +474,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);
+      com.google.bigtable.admin.v2.UpdateTableMetadata result =
+          new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -454,38 +495,39 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata 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.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;
@@ -493,7 +535,8 @@ 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_;
         onChanged();
@@ -530,31 +573,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -567,18 +610,20 @@ public Builder mergeFrom(
 
     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; @@ -587,20 +632,21 @@ 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 { @@ -608,54 +654,61 @@ public java.lang.String getName() { } } /** + * + * *
      * 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the table being updated.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -663,24 +716,33 @@ public Builder setNameBytes( 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 startTimeBuilder_ != null || startTime_ != null; } /** + * + * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -691,6 +753,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time at which this operation started.
      * 
@@ -711,14 +775,15 @@ 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(); onChanged(); @@ -729,6 +794,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -739,7 +806,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -751,6 +818,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -769,6 +838,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time at which this operation started.
      * 
@@ -776,11 +847,13 @@ public Builder clearStartTime() { * .google.protobuf.Timestamp start_time = 2; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - + onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which this operation started.
      * 
@@ -791,11 +864,12 @@ 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.
      * 
@@ -803,14 +877,17 @@ 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_; @@ -818,24 +895,33 @@ 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 endTimeBuilder_ != null || endTime_ != null; } /** + * + * *
      * 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() { @@ -846,6 +932,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -866,14 +954,15 @@ 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(); onChanged(); @@ -884,6 +973,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -894,7 +985,7 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -906,6 +997,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -924,6 +1017,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -931,11 +1026,13 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 3; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -946,11 +1043,12 @@ 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.
      * 
@@ -958,21 +1056,24 @@ 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); } @@ -982,12 +1083,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(); } @@ -996,27 +1097,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; @@ -1031,6 +1132,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableMetadata 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/UpdateTableMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java index f4040a909a..734da4bb0d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java @@ -1,51 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -55,24 +84,32 @@ public interface UpdateTableMetadataOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java index 0dc05ff643..b3a21906de 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/admin/v2/bigtable_table_admin.proto package com.google.bigtable.admin.v2; /** + * + * *
  * The request for
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -11,52 +28,57 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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 @@ -64,12 +86,16 @@ 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 @@ -77,12 +103,15 @@ 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() { @@ -92,6 +121,8 @@ 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. `deletion_protection`) in the `table`
@@ -103,7 +134,9 @@ 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 @@ -111,6 +144,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -122,7 +157,9 @@ 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 @@ -130,6 +167,8 @@ 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. `deletion_protection`) in the `table`
@@ -141,7 +180,8 @@ 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() { @@ -149,6 +189,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,8 +201,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -178,12 +218,10 @@ 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; @@ -193,22 +231,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.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; @@ -234,97 +271,104 @@ 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].
@@ -332,33 +376,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -378,9 +421,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
@@ -399,7 +442,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);
+      com.google.bigtable.admin.v2.UpdateTableRequest result =
+          new com.google.bigtable.admin.v2.UpdateTableRequest(this);
       if (tableBuilder_ == null) {
         result.table_ = table_;
       } else {
@@ -418,38 +462,39 @@ public com.google.bigtable.admin.v2.UpdateTableRequest 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.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;
@@ -457,7 +502,8 @@ 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());
       }
@@ -490,26 +536,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getTableFieldBuilder().getBuilder(),
-                  extensionRegistry);
+            case 10:
+              {
+                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getUpdateMaskFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                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) {
@@ -522,26 +567,37 @@ public Builder mergeFrom(
 
     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 tableBuilder_ != null || 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. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -552,12 +608,15 @@ 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) { @@ -573,15 +632,17 @@ 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(); onChanged(); @@ -592,18 +653,21 @@ public Builder setTable( 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 (table_ != null) { table_ = - com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); + com.google.bigtable.admin.v2.Table.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } @@ -615,12 +679,15 @@ 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() { if (tableBuilder_ == null) { @@ -634,51 +701,62 @@ 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() { - + onChanged(); 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_; @@ -686,8 +764,13 @@ 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. `deletion_protection`) in the `table`
@@ -699,13 +782,17 @@ 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 updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -717,17 +804,23 @@ 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. `deletion_protection`) in the `table`
@@ -739,7 +832,8 @@ 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) { @@ -755,6 +849,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -766,10 +862,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(); onChanged(); @@ -780,6 +876,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -791,13 +889,14 @@ public Builder setUpdateMask(
      * 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 (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -809,6 +908,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -820,7 +921,8 @@ 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() { if (updateMaskBuilder_ == null) { @@ -834,6 +936,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -845,14 +949,17 @@ 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() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `deletion_protection`) in the `table`
@@ -864,17 +971,21 @@ 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. `deletion_protection`) in the `table`
@@ -886,24 +997,28 @@ 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); } @@ -913,12 +1028,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(); } @@ -927,27 +1042,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; @@ -962,6 +1077,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableRequest 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/UpdateTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java rename to proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java index c6de15f22a..3ded387418 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java @@ -1,43 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. `deletion_protection`) in the `table`
@@ -49,11 +78,15 @@ public interface UpdateTableRequestOrBuilder extends
    * 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. `deletion_protection`) in the `table`
@@ -65,11 +98,15 @@ public interface UpdateTableRequestOrBuilder extends
    * 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. `deletion_protection`) in the `table`
@@ -81,7 +118,8 @@ public interface UpdateTableRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto rename to proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto rename to proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto rename to proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto rename to proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto rename to proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto 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 new file mode 100644 index 0000000000..9aba198485 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,435 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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_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; + + 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/wrappers.proto\032\027google/rpc/status.p" + + "roto\"\220\003\n\017ReadRowsRequest\022>\n\ntable_name\030\001" + + " \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapis.c" + + "om/Table\022\026\n\016app_profile_id\030\005 \001(\t\022(\n\004rows" + + "\030\002 \001(\0132\032.google.bigtable.v2.RowSet\022-\n\006fi" + + "lter\030\003 \001(\0132\035.google.bigtable.v2.RowFilte" + + "r\022\022\n\nrows_limit\030\004 \001(\003\022P\n\022request_stats_v" + + "iew\030\006 \001(\01624.google.bigtable.v2.ReadRowsR" + + "equest.RequestStatsView\"f\n\020RequestStatsV" + + "iew\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIED\020\000\022" + + "\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_STATS" + + "_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chunks\030\001" + + " \003(\0132..google.bigtable.v2.ReadRowsRespon" + + "se.CellChunk\022\034\n\024last_scanned_row_key\030\002 \001" + + "(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.bigta" + + "ble.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.google" + + ".protobuf.StringValue\022.\n\tqualifier\030\003 \001(\013" + + "2\033.google.protobuf.BytesValue\022\030\n\020timesta" + + "mp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005value" + + "\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_sta" + + "tus\"n\n\024SampleRowKeysRequest\022>\n\ntable_nam" + + "e\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googleapi" + + "s.com/Table\022\026\n\016app_profile_id\030\002 \001(\t\">\n\025S" + + "ampleRowKeysResponse\022\017\n\007row_key\030\001 \001(\014\022\024\n" + + "\014offset_bytes\030\002 \001(\003\"\266\001\n\020MutateRowRequest" + + "\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022\026\n\016app_profile_" + + "id\030\004 \001(\t\022\024\n\007row_key\030\002 \001(\014B\003\340A\002\0224\n\tmutati" + + "ons\030\003 \003(\0132\034.google.bigtable.v2.MutationB" + + "\003\340A\002\"\023\n\021MutateRowResponse\"\376\001\n\021MutateRows" + + "Request\022>\n\ntable_name\030\001 \001(\tB*\340A\002\372A$\n\"big" + + "tableadmin.googleapis.com/Table\022\026\n\016app_p" + + "rofile_id\030\003 \001(\t\022A\n\007entries\030\002 \003(\0132+.googl" + + "e.bigtable.v2.MutateRowsRequest.EntryB\003\340" + + "A\002\032N\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0224\n\tmutation" + + "s\030\002 \003(\0132\034.google.bigtable.v2.MutationB\003\340" + + "A\002\"\217\001\n\022MutateRowsResponse\022=\n\007entries\030\001 \003" + + "(\0132,.google.bigtable.v2.MutateRowsRespon" + + "se.Entry\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006stat" + + "us\030\002 \001(\0132\022.google.rpc.Status\"\256\002\n\030CheckAn" + + "dMutateRowRequest\022>\n\ntable_name\030\001 \001(\tB*\340" + + "A\002\372A$\n\"bigtableadmin.googleapis.com/Tabl" + + "e\022\026\n\016app_profile_id\030\007 \001(\t\022\024\n\007row_key\030\002 \001" + + "(\014B\003\340A\002\0227\n\020predicate_filter\030\006 \001(\0132\035.goog" + + "le.bigtable.v2.RowFilter\0224\n\016true_mutatio" + + "ns\030\004 \003(\0132\034.google.bigtable.v2.Mutation\0225" + + "\n\017false_mutations\030\005 \003(\0132\034.google.bigtabl" + + "e.v2.Mutation\"6\n\031CheckAndMutateRowRespon" + + "se\022\031\n\021predicate_matched\030\001 \001(\010\"i\n\022PingAnd" + + "WarmRequest\022;\n\004name\030\001 \001(\tB-\340A\002\372A\'\n%bigta" + + "bleadmin.googleapis.com/Instance\022\026\n\016app_" + + "profile_id\030\002 \001(\t\"\025\n\023PingAndWarmResponse\"" + + "\306\001\n\031ReadModifyWriteRowRequest\022>\n\ntable_n" + + "ame\030\001 \001(\tB*\340A\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\022\026\n\016app_profile_id\030\004 \001(\t\022\024\n" + + "\007row_key\030\002 \001(\014B\003\340A\002\022;\n\005rules\030\003 \003(\0132\'.goo" + + "gle.bigtable.v2.ReadModifyWriteRuleB\003\340A\002" + + "\"B\n\032ReadModifyWriteRowResponse\022$\n\003row\030\001 " + + "\001(\0132\027.google.bigtable.v2.Row2\260\024\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\202\323\344\223\002>\"9/v2/{table_name=proj" + + "ects/*/instances/*/tables/*}:readRows:\001*" + + "\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=projec" + + "ts/*/instances/*/tables/*}\022\020\n\016app_profil" + + "e_id\332A\ntable_name\332A\031table_name,app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\202\323\344\223\002@\022" + + ">/v2/{table_name=projects/*/instances/*/" + + "tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_n" + + "ame\022,{table_name=projects/*/instances/*/" + + "tables/*}\022\020\n\016app_profile_id\332A\ntable_name" + + "\332A\031table_name,app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\202\323\344\223\002?\":/v2/{table_name=projects/*/i" + + "nstances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022" + + ":\n\ntable_name\022,{table_name=projects/*/in" + + "stances/*/tables/*}\022\020\n\016app_profile_id\332A\034" + + "table_name,row_key,mutations\332A+table_nam" + + "e,row_key,mutations,app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\202\323\344\223\002@\";/v2/{table_name=proje" + + "cts/*/instances/*/tables/*}:mutateRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id\332A\022table_name,entries\332A!table_name," + + "entries,app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\202\323\344\223\002G\"B/v2/{table" + + "_name=projects/*/instances/*/tables/*}:c" + + "heckAndMutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022" + + ",{table_name=projects/*/instances/*/tabl" + + "es/*}\022\020\n\016app_profile_id\332ABtable_name,row" + + "_key,predicate_filter,true_mutations,fal" + + "se_mutations\332AQtable_name,row_key,predic" + + "ate_filter,true_mutations,false_mutation" + + "s,app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\202\323\344\223" + + "\002+\"&/v2/{name=projects/*/instances/*}:pi" + + "ng:\001*\212\323\344\223\0029\022%\n\004name\022\035{name=projects/*/in" + + "stances/*}\022\020\n\016app_profile_id\332A\004name\332A\023na" + + "me,app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\202\323\344\223\002H\"C/v2/{table_nam" + + "e=projects/*/instances/*/tables/*}:readM" + + "odifyWriteRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{t" + + "able_name=projects/*/instances/*/tables/" + + "*}\022\020\n\016app_profile_id\332A\030table_name,row_ke" + + "y,rules\332A\'table_name,row_key,rules,app_p" + + "rofile_id\032\333\002\312A\027bigtable.googleapis.com\322A" + + "\275\002https://www.googleapis.com/auth/bigtab" + + "le.data,https://www.googleapis.com/auth/" + + "bigtable.data.readonly,https://www.googl" + + "eapis.com/auth/cloud-bigtable.data,https" + + "://www.googleapis.com/auth/cloud-bigtabl" + + "e.data.readonly,https://www.googleapis.c" + + "om/auth/cloud-platform,https://www.googl" + + "eapis.com/auth/cloud-platform.read-onlyB" + + "\353\002\n\026com.google.bigtable.v2B\rBigtableProt" + + "oP\001Z:google.golang.org/genproto/googleap" + + "is/bigtable/v2;bigtable\252\002\030Google.Cloud.B" + + "igtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033" + + "Google::Cloud::Bigtable::V2\352AP\n%bigtable" + + "admin.googleapis.com/Instance\022\'projects/" + + "{project}/instances/{instance}\352A\\\n\"bigta" + + "bleadmin.googleapis.com/Table\0226projects/" + + "{project}/instances/{instance}/tables/{t" + + "able}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.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", + }); + 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", + }); + 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_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + 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(9); + 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(10); + 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(11); + 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(12); + 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(13); + 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", + }); + 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.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index b497e1773e..d6b97cdc4b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.EMPTY; @@ -26,25 +44,24 @@ private Cell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cell(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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); } @@ -52,6 +69,8 @@ protected java.lang.Object newInstance( public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_; /** + * + * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -62,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * int64 timestamp_micros = 1; + * * @return The timestampMicros. */ @java.lang.Override @@ -72,6 +92,8 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -79,6 +101,7 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -89,34 +112,42 @@ public com.google.protobuf.ByteString getValue() { public static final int LABELS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList labels_; /** + * + * *
    * 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. */ @@ -124,20 +155,23 @@ 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; @@ -149,8 +183,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -170,12 +203,10 @@ 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; @@ -193,19 +224,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.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; } @@ -218,8 +246,7 @@ 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) { @@ -231,130 +258,133 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -368,8 +398,7 @@ 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_Cell_descriptor; } @@ -406,38 +435,39 @@ public com.google.bigtable.v2.Cell 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.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell)other); + return mergeFrom((com.google.bigtable.v2.Cell) other); } else { super.mergeFrom(other); return this; @@ -488,28 +518,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - timestampMicros_ = input.readInt64(); - - break; - } // case 8 - case 18: { - value_ = input.readBytes(); - - 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(); + + break; + } // case 8 + case 18: + { + value_ = input.readBytes(); + + 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) { @@ -519,10 +553,13 @@ 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.
@@ -533,6 +570,7 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; + * * @return The timestampMicros. */ @java.lang.Override @@ -540,6 +578,8 @@ public long getTimestampMicros() { return timestampMicros_; } /** + * + * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -550,16 +590,19 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** + * + * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -570,10 +613,11 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; @@ -581,6 +625,8 @@ 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
@@ -588,6 +634,7 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -595,6 +642,8 @@ 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
@@ -602,19 +651,22 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -622,51 +674,62 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } - private com.google.protobuf.LazyStringList labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList labels_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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_.getUnmodifiableView(); } /** + * + * *
      * 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. */ @@ -674,80 +737,90 @@ 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) { + public Builder setLabels(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.set(index, value); onChanged(); 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) { + public Builder addLabels(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.add(value); onChanged(); 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_); 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() { @@ -757,28 +830,30 @@ public Builder clearLabels() { 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) { + public Builder addLabelsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(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); } @@ -788,12 +863,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(); } @@ -802,27 +877,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; @@ -837,6 +912,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Cell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java index f68249fe55..8f09773a0f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -18,11 +36,14 @@ public interface CellOrBuilder extends
    * 
* * 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
@@ -30,48 +51,59 @@ public interface CellOrBuilder extends
    * 
* * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java similarity index 79% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java index 9c9a620a94..a45a41ba9b 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -29,32 +47,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object tableName_; /** + * + * *
    * Required. The unique name of the table to which the conditional mutation should be
    * applied.
@@ -62,7 +83,10 @@ protected java.lang.Object newInstance(
    * `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 @@ -71,14 +95,15 @@ 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.
@@ -86,17 +111,18 @@ public java.lang.String getTableName() {
    * `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 { @@ -107,12 +133,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; 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 @@ -121,30 +150,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 { @@ -155,11 +184,14 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_; /** + * + * *
    * 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 @@ -170,6 +202,8 @@ 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
@@ -178,6 +212,7 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; + * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -185,6 +220,8 @@ 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
@@ -193,13 +230,18 @@ 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
@@ -217,6 +259,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
   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
@@ -232,6 +276,8 @@ 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
@@ -243,11 +289,13 @@ 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
@@ -263,6 +311,8 @@ 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
@@ -278,6 +328,8 @@ 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
@@ -289,14 +341,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;
   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
@@ -312,6 +365,8 @@ 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
@@ -323,11 +378,13 @@ 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
@@ -343,6 +400,8 @@ 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
@@ -358,6 +417,8 @@ 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
@@ -369,12 +430,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;
@@ -386,8 +447,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -419,20 +479,16 @@ 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_);
@@ -445,28 +501,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.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;
   }
@@ -501,130 +552,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -658,9 +715,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 @@ -679,7 +736,8 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -715,38 +773,39 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest 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.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); } else { super.mergeFrom(other); return this; @@ -754,7 +813,8 @@ 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_; onChanged(); @@ -787,9 +847,10 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000001); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTrueMutationsFieldBuilder() : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTrueMutationsFieldBuilder() + : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -813,9 +874,10 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000002); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFalseMutationsFieldBuilder() : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFalseMutationsFieldBuilder() + : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -847,60 +909,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); - - 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); - - break; - } // case 50 - case 58: { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); + + 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); + + break; + } // case 50 + case 58: + { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -910,10 +973,13 @@ 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.
@@ -921,14 +987,16 @@ public Builder mergeFrom(
      * `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; @@ -937,6 +1005,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation should be
      * applied.
@@ -944,16 +1014,17 @@ public java.lang.String getTableName() {
      * `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 { @@ -961,6 +1032,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation should be
      * applied.
@@ -968,21 +1041,25 @@ public java.lang.String getTableName() {
      * `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) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation should be
      * applied.
@@ -990,16 +1067,21 @@ public Builder setTableName(
      * `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() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the conditional mutation should be
      * applied.
@@ -1007,17 +1089,19 @@ public Builder clearTableName() {
      * `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) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1025,19 +1109,21 @@ public Builder setTableNameBytes( 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; @@ -1046,21 +1132,22 @@ 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 { @@ -1068,57 +1155,64 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -1126,11 +1220,14 @@ public Builder setAppProfileIdBytes( 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 @@ -1138,33 +1235,39 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; @@ -1172,8 +1275,13 @@ 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
@@ -1182,12 +1290,15 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; + * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return predicateFilterBuilder_ != null || 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
@@ -1196,16 +1307,21 @@ 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
@@ -1229,6 +1345,8 @@ 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
@@ -1238,8 +1356,7 @@ 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();
         onChanged();
@@ -1250,6 +1367,8 @@ public Builder setPredicateFilter(
       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
@@ -1263,7 +1382,9 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
         if (predicateFilter_ != null) {
           predicateFilter_ =
-            com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_).mergeFrom(value).buildPartial();
+              com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           predicateFilter_ = value;
         }
@@ -1275,6 +1396,8 @@ 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
@@ -1296,6 +1419,8 @@ 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
@@ -1306,11 +1431,13 @@ public Builder clearPredicateFilter() {
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
     public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
-      
+
       onChanged();
       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
@@ -1324,11 +1451,14 @@ 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
@@ -1339,32 +1469,41 @@ 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_ & 0x00000001) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     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
@@ -1383,6 +1522,8 @@ 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
@@ -1401,6 +1542,8 @@ 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
@@ -1419,6 +1562,8 @@ 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
@@ -1429,8 +1574,7 @@ 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();
@@ -1444,6 +1588,8 @@ 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
@@ -1466,6 +1612,8 @@ 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
@@ -1490,6 +1638,8 @@ 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
@@ -1500,8 +1650,7 @@ 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();
@@ -1515,6 +1664,8 @@ 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
@@ -1525,8 +1676,7 @@ public Builder addTrueMutations(
      *
      * 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());
@@ -1537,6 +1687,8 @@ 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
@@ -1559,6 +1711,8 @@ 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
@@ -1573,8 +1727,7 @@ 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);
@@ -1582,6 +1735,8 @@ 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
@@ -1603,6 +1758,8 @@ 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
@@ -1624,6 +1781,8 @@ 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
@@ -1634,11 +1793,12 @@ 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
@@ -1649,14 +1809,16 @@ public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(
      *
      * 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
@@ -1667,8 +1829,8 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
      *
      * 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 {
@@ -1676,6 +1838,8 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * 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
@@ -1687,10 +1851,12 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
      * 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
@@ -1701,12 +1867,13 @@ 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
@@ -1717,16 +1884,21 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(
      *
      * 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_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1737,18 +1909,24 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(
     }
 
     private java.util.List falseMutations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureFalseMutationsIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     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
@@ -1767,6 +1945,8 @@ 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
@@ -1785,6 +1965,8 @@ 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
@@ -1803,6 +1985,8 @@ 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
@@ -1813,8 +1997,7 @@ 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();
@@ -1828,6 +2011,8 @@ 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
@@ -1850,6 +2035,8 @@ 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
@@ -1874,6 +2061,8 @@ 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
@@ -1884,8 +2073,7 @@ 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();
@@ -1899,6 +2087,8 @@ 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
@@ -1909,8 +2099,7 @@ public Builder addFalseMutations(
      *
      * 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());
@@ -1921,6 +2110,8 @@ 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
@@ -1943,6 +2134,8 @@ 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
@@ -1957,8 +2150,7 @@ 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);
@@ -1966,6 +2158,8 @@ 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
@@ -1987,6 +2181,8 @@ 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
@@ -2008,6 +2204,8 @@ 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
@@ -2018,11 +2216,12 @@ 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
@@ -2033,14 +2232,16 @@ public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(
      *
      * 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
@@ -2051,8 +2252,8 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
      *
      * 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 {
@@ -2060,6 +2261,8 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * 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
@@ -2071,10 +2274,12 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
      * 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
@@ -2085,12 +2290,13 @@ 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
@@ -2101,16 +2307,21 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(
      *
      * 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_ & 0x00000002) != 0),
                 getParentForChildren(),
@@ -2119,9 +2330,9 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(
       }
       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);
     }
 
@@ -2131,12 +2342,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();
   }
@@ -2145,27 +2356,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;
@@ -2180,6 +2391,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
index ca38a69108..e044d70cd1 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
@@ -15,11 +33,16 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    * `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.
@@ -27,45 +50,57 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    * `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
@@ -74,10 +109,13 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    * 
* * .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
@@ -86,10 +124,13 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    * 
* * .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
@@ -102,6 +143,8 @@ public interface CheckAndMutateRowRequestOrBuilder extends
   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
@@ -112,9 +155,10 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    *
    * 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
@@ -127,6 +171,8 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    */
   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
@@ -139,6 +185,8 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    */
   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
@@ -149,9 +197,11 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    *
    * 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
@@ -162,10 +212,11 @@ public interface CheckAndMutateRowRequestOrBuilder extends
    *
    * 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
@@ -176,9 +227,10 @@ com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
    *
    * 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
@@ -191,6 +243,8 @@ com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
    */
   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
@@ -203,6 +257,8 @@ com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
    */
   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
@@ -213,9 +269,11 @@ com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
    *
    * 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
@@ -226,6 +284,5 @@ com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
    *
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
similarity index 64%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
index 533a948a1e..038804e44b 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
@@ -1,61 +1,82 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * 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 @@ -64,6 +85,7 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -75,8 +97,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -90,8 +111,7 @@ 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; @@ -101,15 +121,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; } @@ -122,137 +142,142 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -262,9 +287,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 @@ -283,7 +308,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); + com.google.bigtable.v2.CheckAndMutateRowResponse result = + new com.google.bigtable.v2.CheckAndMutateRowResponse(this); result.predicateMatched_ = predicateMatched_; onBuilt(); return result; @@ -293,38 +319,39 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse 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.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); } else { super.mergeFrom(other); return this; @@ -332,7 +359,8 @@ 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()); } @@ -362,17 +390,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - predicateMatched_ = input.readBool(); - - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + predicateMatched_ = input.readBool(); + + 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) { @@ -383,14 +413,17 @@ public Builder mergeFrom( return this; } - 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 @@ -398,39 +431,45 @@ 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. */ public Builder setPredicateMatched(boolean value) { - + predicateMatched_ = value; onChanged(); 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() { - + predicateMatched_ = false; 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); } @@ -440,12 +479,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(); } @@ -454,27 +493,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; @@ -489,6 +528,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..6a3e935338 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java index ee5e91fce9..780f63da2d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * Specifies (some of) the contents of a single row/column intersection of a
  * table.
@@ -11,15 +28,16 @@
  *
  * 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();
@@ -27,25 +45,24 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Column();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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);
   }
@@ -53,6 +70,8 @@ protected java.lang.Object newInstance(
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString 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
@@ -62,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes qualifier = 1; + * * @return The qualifier. */ @java.lang.Override @@ -72,6 +92,8 @@ public com.google.protobuf.ByteString getQualifier() { public static final int CELLS_FIELD_NUMBER = 2; private java.util.List cells_; /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -83,6 +105,8 @@ public java.util.List getCellsList() { return cells_; } /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -90,11 +114,12 @@ 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".
    * 
@@ -106,6 +131,8 @@ public int getCellsCount() { return cells_.size(); } /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -117,6 +144,8 @@ public com.google.bigtable.v2.Cell getCells(int index) { return cells_.get(index); } /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -124,12 +153,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; @@ -141,8 +170,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -159,12 +187,10 @@ 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; @@ -174,17 +200,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.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; } @@ -207,97 +231,103 @@ 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.
@@ -305,33 +335,30 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -348,8 +375,7 @@ 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;
     }
 
@@ -389,38 +415,39 @@ public com.google.bigtable.v2.Column 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.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column)other);
+        return mergeFrom((com.google.bigtable.v2.Column) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -450,9 +477,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            cellsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getCellsFieldBuilder() : null;
+            cellsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getCellsFieldBuilder()
+                    : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -484,30 +512,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              qualifier_ = input.readBytes();
-
-              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();
+
+                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) {
@@ -517,10 +546,13 @@ 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
@@ -530,6 +562,7 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; + * * @return The qualifier. */ @java.lang.Override @@ -537,6 +570,8 @@ 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
@@ -546,19 +581,22 @@ 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(); - } - + throw new NullPointerException(); + } + qualifier_ = value; 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
@@ -568,28 +606,34 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; + * * @return This builder for chaining. */ public Builder clearQualifier() { - + qualifier_ = getDefaultInstance().getQualifier(); onChanged(); 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_ & 0x00000001) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000001; - } + } } 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".
      * 
@@ -604,6 +648,8 @@ public java.util.List getCellsList() { } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -618,6 +664,8 @@ public int getCellsCount() { } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -632,14 +680,15 @@ 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(); @@ -653,14 +702,15 @@ public Builder setCells( 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()); @@ -671,6 +721,8 @@ public Builder setCells( return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -691,14 +743,15 @@ 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(); @@ -712,14 +765,15 @@ public Builder addCells( 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()); @@ -730,14 +784,15 @@ public Builder addCells( 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()); @@ -748,18 +803,18 @@ public Builder addCells( 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); @@ -767,6 +822,8 @@ public Builder addAllCells( return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -784,6 +841,8 @@ public Builder clearCells() { return this; } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -801,39 +860,43 @@ 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 { @@ -841,6 +904,8 @@ public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( } } /** + * + * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -848,49 +913,53 @@ public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -900,12 +969,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(); } @@ -914,27 +983,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; @@ -949,6 +1018,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java index 75166dc08c..fc994bb813 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -17,20 +35,24 @@ public interface ColumnOrBuilder extends
    * 
* * 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".
    * 
@@ -39,6 +61,8 @@ public interface ColumnOrBuilder extends */ com.google.bigtable.v2.Cell getCells(int index); /** + * + * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -47,21 +71,23 @@ public interface ColumnOrBuilder extends */ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java index f022eab36d..a5da9d1288 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -13,53 +30,58 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -75,32 +97,38 @@ 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;
   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;
     }
@@ -116,31 +144,37 @@ 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;
   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 @@ -149,29 +183,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 { @@ -181,11 +215,14 @@ public java.lang.String getFamilyName() { 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 @@ -193,11 +230,14 @@ 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 @@ -210,11 +250,14 @@ 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 @@ -222,11 +265,14 @@ 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 @@ -239,11 +285,14 @@ 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 @@ -251,11 +300,14 @@ 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 @@ -268,11 +320,14 @@ 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 @@ -280,11 +335,14 @@ 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 @@ -296,6 +354,7 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -307,26 +366,21 @@ public final boolean isInitialized() { } @java.lang.Override - public 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); } @@ -341,24 +395,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; @@ -368,24 +422,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.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: @@ -393,12 +444,10 @@ 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: @@ -445,97 +494,103 @@ 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
@@ -545,33 +600,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -585,9 +639,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
@@ -630,38 +684,39 @@ public com.google.bigtable.v2.ColumnRange 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.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -675,30 +730,36 @@ 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();
@@ -726,37 +787,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              familyName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                familyName_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -766,12 +833,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() {
@@ -783,10 +850,9 @@ 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() {
@@ -796,21 +862,22 @@ public Builder clearEndQualifier() {
       return this;
     }
 
-
     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; @@ -819,20 +886,21 @@ 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 { @@ -840,76 +908,89 @@ public java.lang.String getFamilyName() { } } /** + * + * *
      * 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) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; } /** + * + * *
      * 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() { @@ -919,29 +1000,35 @@ 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(); - } - startQualifierCase_ = 2; + 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() { @@ -954,22 +1041,28 @@ 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() { @@ -979,29 +1072,35 @@ 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(); - } - startQualifierCase_ = 3; + 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() { @@ -1014,22 +1113,28 @@ 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() { @@ -1039,29 +1144,35 @@ 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(); - } - endQualifierCase_ = 4; + 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() { @@ -1074,22 +1185,28 @@ 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() { @@ -1099,29 +1216,35 @@ 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(); - } - endQualifierCase_ = 5; + 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() { @@ -1132,9 +1255,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); } @@ -1144,12 +1267,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(); } @@ -1158,27 +1281,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; @@ -1193,6 +1316,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ColumnRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java similarity index 76% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java index 67918a5157..e94bae3d49 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java @@ -1,104 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/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 new file mode 100644 index 0000000000..ba55154653 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,373 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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; + + 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\004ruleB\265\001\n\026com.google.bigtabl" + + "e.v2B\tDataProtoP\001Z:google.golang.org/gen" + + "proto/googleapis/bigtable/v2;bigtable\252\002\030" + + "Google.Cloud.Bigtable.V2\312\002\030Google\\Cloud\\" + + "Bigtable\\V2\352\002\033Google::Cloud::Bigtable::V" + + "2b\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", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java index a03e12e7d3..25e73be090 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * Specifies (some of) the contents of a single row/column family intersection
  * of a table.
@@ -11,15 +28,16 @@
  *
  * 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();
@@ -27,25 +45,24 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Family();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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);
   }
@@ -53,6 +70,8 @@ protected java.lang.Object newInstance(
   public static final int NAME_FIELD_NUMBER = 1;
   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
@@ -63,6 +82,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -71,14 +91,15 @@ 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
@@ -89,16 +110,15 @@ 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 { @@ -109,6 +129,8 @@ public java.lang.String getName() { public static final int COLUMNS_FIELD_NUMBER = 2; private java.util.List columns_; /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -120,6 +142,8 @@ public java.util.List getColumnsList() { return columns_; } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -127,11 +151,13 @@ 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".
    * 
@@ -143,6 +169,8 @@ public int getColumnsCount() { return columns_.size(); } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -154,6 +182,8 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -161,12 +191,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; @@ -178,8 +208,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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,8 +228,7 @@ 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; @@ -210,17 +238,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.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; } @@ -243,97 +269,103 @@ 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.
@@ -341,33 +373,30 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -384,8 +413,7 @@ 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;
     }
 
@@ -425,38 +453,39 @@ public com.google.bigtable.v2.Family 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.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family)other);
+        return mergeFrom((com.google.bigtable.v2.Family) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -487,9 +516,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            columnsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getColumnsFieldBuilder() : null;
+            columnsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getColumnsFieldBuilder()
+                    : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -521,30 +551,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              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:
+                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) {
@@ -554,10 +585,13 @@ 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
@@ -568,13 +602,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; @@ -583,6 +617,8 @@ 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
@@ -593,15 +629,14 @@ 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 { @@ -609,6 +644,8 @@ 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
@@ -619,20 +656,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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
@@ -643,15 +682,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); 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
@@ -662,34 +704,40 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } private java.util.List columns_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000001; - } + } } 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".
      * 
@@ -704,6 +752,8 @@ public java.util.List getColumnsList() { } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -718,6 +768,8 @@ public int getColumnsCount() { } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -732,14 +784,15 @@ 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(); @@ -753,14 +806,15 @@ public Builder setColumns( 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()); @@ -771,6 +825,8 @@ public Builder setColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -791,14 +847,15 @@ 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(); @@ -812,14 +869,15 @@ public Builder addColumns( 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()); @@ -830,14 +888,15 @@ public Builder addColumns( 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()); @@ -848,6 +907,8 @@ public Builder addColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -858,8 +919,7 @@ 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); @@ -867,6 +927,8 @@ public Builder addAllColumns( return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -884,6 +946,8 @@ public Builder clearColumns() { return this; } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -901,39 +965,44 @@ 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 { @@ -941,6 +1010,8 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( } } /** + * + * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -948,49 +1019,54 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1000,12 +1076,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(); } @@ -1014,27 +1090,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; @@ -1049,6 +1125,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Family getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java similarity index 71% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java index 43726ae844..7c90e78023 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -18,10 +36,13 @@ public interface FamilyOrBuilder extends
    * 
* * 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
@@ -32,21 +53,24 @@ public interface FamilyOrBuilder extends
    * 
* * 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".
    * 
@@ -55,6 +79,8 @@ public interface FamilyOrBuilder extends */ com.google.bigtable.v2.Column getColumns(int index); /** + * + * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -63,21 +89,23 @@ public interface FamilyOrBuilder extends */ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index b48f040f5d..f0e0c2b726 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -1,55 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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
@@ -58,6 +78,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * * @return Whether the readIterationStats field is set. */ @java.lang.Override @@ -65,6 +86,8 @@ 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
@@ -73,13 +96,18 @@ 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
@@ -97,12 +125,15 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
   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 @@ -110,19 +141,26 @@ 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.
@@ -136,6 +174,7 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -147,8 +186,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -165,12 +203,10 @@ 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;
@@ -180,7 +216,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);
@@ -189,13 +225,11 @@ 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;
@@ -221,130 +255,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -364,9 +404,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 @@ -385,7 +425,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); + com.google.bigtable.v2.FullReadStatsView result = + new com.google.bigtable.v2.FullReadStatsView(this); if (readIterationStatsBuilder_ == null) { result.readIterationStats_ = readIterationStats_; } else { @@ -404,38 +445,39 @@ public com.google.bigtable.v2.FullReadStatsView 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.FullReadStatsView) { - return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); + return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); } else { super.mergeFrom(other); return this; @@ -476,26 +518,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadIterationStatsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + break; + } // case 10 + case 18: + { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); + + 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) { @@ -508,8 +551,13 @@ public Builder mergeFrom( 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
@@ -518,12 +566,15 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; + * * @return Whether the readIterationStats field is set. */ public boolean hasReadIterationStats() { return readIterationStatsBuilder_ != null || 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
@@ -532,16 +583,21 @@ 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
@@ -565,6 +621,8 @@ 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
@@ -586,6 +644,8 @@ 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
@@ -599,7 +659,9 @@ public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats
       if (readIterationStatsBuilder_ == null) {
         if (readIterationStats_ != null) {
           readIterationStats_ =
-            com.google.bigtable.v2.ReadIterationStats.newBuilder(readIterationStats_).mergeFrom(value).buildPartial();
+              com.google.bigtable.v2.ReadIterationStats.newBuilder(readIterationStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           readIterationStats_ = value;
         }
@@ -611,6 +673,8 @@ 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
@@ -632,6 +696,8 @@ 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
@@ -642,11 +708,13 @@ public Builder clearReadIterationStats() {
      * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
      */
     public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBuilder() {
-      
+
       onChanged();
       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
@@ -660,11 +728,14 @@ 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
@@ -675,14 +746,17 @@ 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_;
@@ -690,36 +764,49 @@ 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 requestLatencyStatsBuilder_ != null || 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. */ 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.
@@ -741,6 +828,8 @@ 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.
@@ -760,6 +849,8 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -771,7 +862,9 @@ public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencySta
       if (requestLatencyStatsBuilder_ == null) {
         if (requestLatencyStats_ != null) {
           requestLatencyStats_ =
-            com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_).mergeFrom(value).buildPartial();
+              com.google.bigtable.v2.RequestLatencyStats.newBuilder(requestLatencyStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           requestLatencyStats_ = value;
         }
@@ -783,6 +876,8 @@ 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.
@@ -802,6 +897,8 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -810,11 +907,13 @@ public Builder clearRequestLatencyStats() {
      * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
      */
     public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStatsBuilder() {
-      
+
       onChanged();
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -826,11 +925,14 @@ 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.
@@ -839,21 +941,24 @@ 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);
     }
 
@@ -863,12 +968,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();
   }
@@ -877,27 +982,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;
@@ -912,6 +1017,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
index 1b0c49af90..e98b57f732 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -16,10 +34,13 @@ public interface FullReadStatsViewOrBuilder extends
    * 
* * .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
@@ -28,10 +49,13 @@ public interface FullReadStatsViewOrBuilder extends
    * 
* * .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
@@ -44,26 +68,34 @@ public interface FullReadStatsViewOrBuilder extends
   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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java
similarity index 100%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
index dddd316597..00c657bb3a 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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_ = ""; @@ -28,39 +46,45 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -69,31 +93,33 @@ 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 { @@ -104,12 +130,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; 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 @@ -118,30 +147,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 { @@ -152,11 +181,14 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_; /** + * + * *
    * 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 @@ -167,74 +199,94 @@ public com.google.protobuf.ByteString getRowKey() { public static final int MUTATIONS_FIELD_NUMBER = 3; 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; @@ -246,8 +298,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -273,12 +324,10 @@ 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_); @@ -291,21 +340,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.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; } @@ -332,130 +377,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -476,9 +527,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 @@ -497,7 +548,8 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -519,38 +571,39 @@ public com.google.bigtable.v2.MutateRowRequest 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.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); } else { super.mergeFrom(other); return this; @@ -588,9 +641,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -622,40 +676,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); + case 10: + { + tableName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); - 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(); + 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(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -665,24 +722,29 @@ 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; @@ -691,22 +753,25 @@ 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 { @@ -714,60 +779,73 @@ 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) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -775,19 +853,21 @@ public Builder setTableNameBytes( 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; @@ -796,21 +876,22 @@ 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 { @@ -818,57 +899,64 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -876,11 +964,14 @@ public Builder setAppProfileIdBytes( 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 @@ -888,58 +979,72 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } private java.util.List mutations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.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) { @@ -949,13 +1054,17 @@ 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) { @@ -965,13 +1074,17 @@ 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) { @@ -981,16 +1094,19 @@ 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(); @@ -1004,13 +1120,17 @@ 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 setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1024,13 +1144,17 @@ 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) { @@ -1046,16 +1170,19 @@ 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(); @@ -1069,16 +1196,19 @@ 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 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()); @@ -1089,13 +1219,17 @@ 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 addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1109,20 +1243,23 @@ 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); @@ -1130,13 +1267,17 @@ 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) { @@ -1149,13 +1290,17 @@ 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) { @@ -1168,45 +1313,56 @@ 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 { @@ -1214,62 +1370,75 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( } } /** + * + * *
      * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1279,12 +1448,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(); } @@ -1293,27 +1462,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; @@ -1328,6 +1497,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java index cf0e0a6ed9..cd0791f7d3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -1,119 +1,169 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java index c46712dfd9..154c3818b9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -78,7 +96,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); @@ -101,130 +119,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +256,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 @@ -253,7 +277,8 @@ 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; } @@ -262,38 +287,39 @@ 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; @@ -328,12 +354,13 @@ 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) { @@ -343,9 +370,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); } @@ -355,12 +382,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(); } @@ -369,27 +396,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; @@ -404,6 +431,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..54dffa3f98 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index d7ccd4676f..72a373f79d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -27,44 +45,51 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutateRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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
@@ -72,11 +97,14 @@ public interface EntryOrBuilder extends
      * 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
@@ -84,10 +112,14 @@ public interface EntryOrBuilder extends
      * 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
@@ -95,10 +127,14 @@ public interface EntryOrBuilder extends
      * 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
@@ -106,11 +142,14 @@ public interface EntryOrBuilder extends
      * 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
@@ -118,27 +157,31 @@ public interface EntryOrBuilder extends
      * 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(); @@ -146,37 +189,41 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Entry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -187,6 +234,8 @@ public com.google.protobuf.ByteString getRowKey() { public static final int MUTATIONS_FIELD_NUMBER = 2; 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
@@ -194,13 +243,17 @@ public com.google.protobuf.ByteString getRowKey() {
      * 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
@@ -208,14 +261,18 @@ public java.util.List getMutationsList() {
      * 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
@@ -223,13 +280,17 @@ public java.util.List getMutationsList() {
      * 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
@@ -237,13 +298,17 @@ public int getMutationsCount() {
      * 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
@@ -251,15 +316,17 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
      * 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; @@ -271,8 +338,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -289,12 +355,10 @@ 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; @@ -304,17 +368,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.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; } @@ -337,88 +400,94 @@ 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 @@ -428,39 +497,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -477,9 +548,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 @@ -498,7 +569,8 @@ 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); int from_bitField0_ = bitField0_; result.rowKey_ = rowKey_; if (mutationsBuilder_ == null) { @@ -518,38 +590,41 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry 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.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; @@ -557,7 +632,8 @@ 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()); } @@ -579,9 +655,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000001); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -613,30 +690,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rowKey_ = input.readBytes(); - - 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(); + + 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) { @@ -646,15 +725,19 @@ 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 @@ -662,51 +745,63 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } private java.util.List mutations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.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
@@ -714,7 +809,9 @@ private void ensureMutationsIsMutable() {
        * 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) { @@ -724,6 +821,8 @@ 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
@@ -731,7 +830,9 @@ public java.util.List getMutationsList() {
        * 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) { @@ -741,6 +842,8 @@ 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
@@ -748,7 +851,9 @@ public int getMutationsCount() {
        * 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) { @@ -758,6 +863,8 @@ 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
@@ -765,10 +872,11 @@ public com.google.bigtable.v2.Mutation getMutations(int index) {
        * 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(); @@ -782,6 +890,8 @@ 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
@@ -789,7 +899,9 @@ public Builder setMutations(
        * 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) { @@ -803,6 +915,8 @@ 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
@@ -810,7 +924,9 @@ public Builder setMutations(
        * 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) { @@ -826,6 +942,8 @@ 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
@@ -833,10 +951,11 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) {
        * 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(); @@ -850,6 +969,8 @@ 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
@@ -857,10 +978,11 @@ public Builder addMutations(
        * 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()); @@ -871,6 +993,8 @@ 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
@@ -878,7 +1002,9 @@ public Builder addMutations(
        * 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) { @@ -892,6 +1018,8 @@ 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
@@ -899,14 +1027,15 @@ public Builder addMutations(
        * 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); @@ -914,6 +1043,8 @@ 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
@@ -921,7 +1052,9 @@ public Builder addAllMutations(
        * 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) { @@ -934,6 +1067,8 @@ 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
@@ -941,7 +1076,9 @@ public Builder clearMutations() {
        * 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) { @@ -954,6 +1091,8 @@ 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
@@ -961,13 +1100,16 @@ public Builder removeMutations(int index) {
        * 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
@@ -975,16 +1117,20 @@ public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(
        * 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
@@ -992,10 +1138,12 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(
        * 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 { @@ -1003,6 +1151,8 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( } } /** + * + * *
        * Required. Changes to be atomically applied to the specified row. Mutations are
        * applied in order, meaning that earlier mutations can be masked by
@@ -1010,13 +1160,17 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(
        * 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
@@ -1024,14 +1178,17 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() {
        * 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
@@ -1039,26 +1196,31 @@ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(
        * 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_ & 0x00000001) != 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_ & 0x00000001) != 0), getParentForChildren(), isClean()); mutations_ = null; } return mutationsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1071,12 +1233,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(); } @@ -1085,27 +1247,28 @@ 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; @@ -1120,17 +1283,21 @@ 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; 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 @@ -1139,29 +1306,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 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 { @@ -1172,12 +1341,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; 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 @@ -1186,30 +1358,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 { @@ -1220,6 +1392,8 @@ public java.lang.String getAppProfileId() { public static final int ENTRIES_FIELD_NUMBER = 2; 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
@@ -1228,13 +1402,17 @@ public java.lang.String getAppProfileId() {
    * 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
@@ -1243,14 +1421,18 @@ 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
@@ -1259,13 +1441,17 @@ 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
@@ -1274,13 +1460,17 @@ 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
@@ -1289,15 +1479,17 @@ 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; @@ -1309,8 +1501,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1333,8 +1524,7 @@ 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_); @@ -1347,19 +1537,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.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; } @@ -1384,130 +1571,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1526,9 +1719,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 @@ -1547,7 +1740,8 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -1568,38 +1762,39 @@ public com.google.bigtable.v2.MutateRowsRequest 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.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -1634,9 +1829,10 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest 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_); } @@ -1668,35 +1864,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); + case 10: + { + tableName_ = input.readStringRequireUtf8(); - 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(); + 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(); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -1706,22 +1905,27 @@ 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; @@ -1730,20 +1934,23 @@ 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 { @@ -1751,54 +1958,67 @@ 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) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -1806,19 +2026,21 @@ public Builder setTableNameBytes( 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; @@ -1827,21 +2049,22 @@ 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 { @@ -1849,75 +2072,89 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; } 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.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
@@ -1926,7 +2163,9 @@ 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) { @@ -1936,6 +2175,8 @@ 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
@@ -1944,7 +2185,9 @@ 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) { @@ -1954,6 +2197,8 @@ 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
@@ -1962,7 +2207,9 @@ 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) { @@ -1972,6 +2219,8 @@ 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
@@ -1980,10 +2229,11 @@ 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(); @@ -1997,6 +2247,8 @@ 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
@@ -2005,7 +2257,9 @@ 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 setEntries( int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2019,6 +2273,8 @@ 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
@@ -2027,7 +2283,9 @@ 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) { @@ -2043,6 +2301,8 @@ 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
@@ -2051,10 +2311,11 @@ 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(); @@ -2068,6 +2329,8 @@ 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
@@ -2076,7 +2339,9 @@ 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( com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2090,6 +2355,8 @@ 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
@@ -2098,7 +2365,9 @@ 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) { @@ -2112,6 +2381,8 @@ 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
@@ -2120,14 +2391,15 @@ 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); @@ -2135,6 +2407,8 @@ 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
@@ -2143,7 +2417,9 @@ 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) { @@ -2156,6 +2432,8 @@ 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
@@ -2164,7 +2442,9 @@ 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) { @@ -2177,6 +2457,8 @@ 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
@@ -2185,13 +2467,16 @@ 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
@@ -2200,16 +2485,20 @@ 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
@@ -2218,10 +2507,12 @@ 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 { @@ -2229,6 +2520,8 @@ 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
@@ -2237,13 +2530,17 @@ 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
@@ -2252,14 +2549,17 @@ 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
@@ -2268,29 +2568,34 @@ 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -2300,12 +2605,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(); } @@ -2314,27 +2619,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; @@ -2349,6 +2654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java index d62c9d8635..7c877bd876 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -1,55 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -58,11 +90,14 @@ public interface MutateRowsRequestOrBuilder extends
    * 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
@@ -71,10 +106,14 @@ public interface MutateRowsRequestOrBuilder extends
    * 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
@@ -83,10 +122,14 @@ public interface MutateRowsRequestOrBuilder extends
    * 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
@@ -95,11 +138,15 @@ public interface MutateRowsRequestOrBuilder extends
    * 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
@@ -108,8 +155,9 @@ public interface MutateRowsRequestOrBuilder extends
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java index 77f0dd68f0..783b6f4faa 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java @@ -1,69 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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
@@ -72,10 +97,13 @@ public interface EntryOrBuilder extends
      * 
* * .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
@@ -84,10 +112,13 @@ public interface EntryOrBuilder extends
      * 
* * .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
@@ -100,58 +131,64 @@ public interface EntryOrBuilder extends
     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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
      * 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 @@ -162,6 +199,8 @@ 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
@@ -170,6 +209,7 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ @java.lang.Override @@ -177,6 +217,8 @@ 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
@@ -185,6 +227,7 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; + * * @return The status. */ @java.lang.Override @@ -192,6 +235,8 @@ 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
@@ -207,6 +252,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -218,8 +264,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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_);
       }
@@ -236,12 +281,10 @@ 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;
@@ -251,19 +294,18 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-       return true;
+        return true;
       }
       if (!(obj instanceof com.google.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;
@@ -277,8 +319,7 @@ 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();
@@ -289,87 +330,93 @@ 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
@@ -379,39 +426,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +476,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 @@ -448,7 +497,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); + com.google.bigtable.v2.MutateRowsResponse.Entry result = + new com.google.bigtable.v2.MutateRowsResponse.Entry(this); result.index_ = index_; if (statusBuilder_ == null) { result.status_ = status_; @@ -463,38 +513,41 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry 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.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; @@ -502,7 +555,8 @@ 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()); } @@ -535,24 +589,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - index_ = input.readInt64(); - - break; - } // case 8 - case 18: { - input.readMessage( - getStatusFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + index_ = input.readInt64(); + + break; + } // case 8 + case 18: + { + input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -563,14 +618,17 @@ public Builder mergeFrom( return this; } - 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 @@ -578,32 +636,38 @@ 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. */ public Builder setIndex(long value) { - + index_ = value; onChanged(); 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() { - + index_ = 0L; onChanged(); return this; @@ -611,8 +675,11 @@ 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
@@ -621,12 +688,15 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; + * * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** + * + * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -635,6 +705,7 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; + * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -645,6 +716,8 @@ 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
@@ -668,6 +741,8 @@ 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
@@ -677,8 +752,7 @@ 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();
           onChanged();
@@ -689,6 +763,8 @@ public Builder setStatus(
         return this;
       }
       /**
+       *
+       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -701,8 +777,7 @@ public Builder setStatus(
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
           if (status_ != null) {
-            status_ =
-              com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
+            status_ = com.google.rpc.Status.newBuilder(status_).mergeFrom(value).buildPartial();
           } else {
             status_ = value;
           }
@@ -714,6 +789,8 @@ 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
@@ -735,6 +812,8 @@ 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
@@ -745,11 +824,13 @@ public Builder clearStatus() {
        * .google.rpc.Status status = 2;
        */
       public com.google.rpc.Status.Builder getStatusBuilder() {
-        
+
         onChanged();
         return getStatusFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -763,11 +844,12 @@ 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
@@ -778,18 +860,19 @@ 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) {
@@ -802,12 +885,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();
     }
@@ -816,27 +899,28 @@ 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;
@@ -851,12 +935,13 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   public static final int ENTRIES_FIELD_NUMBER = 1;
   private java.util.List entries_;
   /**
+   *
+   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -868,6 +953,8 @@ public java.util.List getEntrie return entries_; } /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -875,11 +962,13 @@ 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.
    * 
@@ -891,6 +980,8 @@ public int getEntriesCount() { return entries_.size(); } /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -902,6 +993,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { return entries_.get(index); } /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -909,12 +1002,12 @@ 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); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -926,8 +1019,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -941,8 +1033,7 @@ 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)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -952,15 +1043,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -981,130 +1072,136 @@ 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() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1119,9 +1216,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 @@ -1140,7 +1237,8 @@ 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); int from_bitField0_ = bitField0_; if (entriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -1159,38 +1257,39 @@ public com.google.bigtable.v2.MutateRowsResponse 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.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -1217,9 +1316,10 @@ 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_); } @@ -1251,25 +1351,27 @@ 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 - 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 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1279,21 +1381,29 @@ 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.
      * 
@@ -1308,6 +1418,8 @@ public java.util.List getEntrie } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1322,6 +1434,8 @@ public int getEntriesCount() { } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1336,14 +1450,15 @@ 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(); @@ -1357,6 +1472,8 @@ public Builder setEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1375,6 +1492,8 @@ public Builder setEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1395,14 +1514,15 @@ 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(); @@ -1416,6 +1536,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1434,6 +1556,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1452,6 +1576,8 @@ public Builder addEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1462,8 +1588,7 @@ 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); @@ -1471,6 +1596,8 @@ public Builder addAllEntries( return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1488,6 +1615,8 @@ public Builder clearEntries() { return this; } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1505,39 +1634,44 @@ 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 { @@ -1545,6 +1679,8 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** + * + * *
      * One or more results for Entries from the batch request.
      * 
@@ -1552,49 +1688,55 @@ 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_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1604,12 +1746,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(); } @@ -1618,27 +1760,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; @@ -1653,6 +1795,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java index aebed5ae99..ca4b764ba7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface MutateRowsResponseOrBuilder extends */ com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index); /** + * + * *
    * One or more results for Entries from the batch request.
    * 
@@ -33,21 +54,24 @@ public interface MutateRowsResponseOrBuilder extends */ 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); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java index eff4a5073b..177339dfa8 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java @@ -1,90 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
@@ -94,36 +121,43 @@ public interface SetCellOrBuilder extends
      * 
* * 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; @@ -132,38 +166,42 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SetCell(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -172,30 +210,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 { @@ -206,12 +244,15 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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; + * * @return The columnQualifier. */ @java.lang.Override @@ -222,6 +263,8 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_; /** + * + * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -231,6 +274,7 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; + * * @return The timestampMicros. */ @java.lang.Override @@ -241,11 +285,14 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_; /** + * + * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; + * * @return The value. */ @java.lang.Override @@ -254,6 +301,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,8 +313,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -292,16 +339,13 @@ 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; @@ -311,21 +355,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.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; } @@ -342,8 +382,7 @@ 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(); @@ -351,88 +390,94 @@ 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 @@ -442,39 +487,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +537,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 @@ -511,7 +558,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); + com.google.bigtable.v2.Mutation.SetCell result = + new com.google.bigtable.v2.Mutation.SetCell(this); result.familyName_ = familyName_; result.columnQualifier_ = columnQualifier_; result.timestampMicros_ = timestampMicros_; @@ -524,38 +572,41 @@ public com.google.bigtable.v2.Mutation.SetCell 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.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; @@ -603,32 +654,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - columnQualifier_ = input.readBytes(); - - break; - } // case 18 - case 24: { - timestampMicros_ = input.readInt64(); - - break; - } // case 24 - case 34: { - value_ = input.readBytes(); - - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + familyName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + columnQualifier_ = input.readBytes(); + + break; + } // case 18 + case 24: + { + timestampMicros_ = input.readInt64(); + + break; + } // case 24 + case 34: + { + value_ = input.readBytes(); + + 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) { @@ -641,19 +697,21 @@ public Builder mergeFrom( 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; @@ -662,21 +720,22 @@ 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 { @@ -684,70 +743,81 @@ 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; + * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName( - java.lang.String value) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); 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; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); 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 @@ -755,42 +825,50 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; 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() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); 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.
@@ -800,6 +878,7 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; + * * @return The timestampMicros. */ @java.lang.Override @@ -807,6 +886,8 @@ public long getTimestampMicros() { return timestampMicros_; } /** + * + * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -816,16 +897,19 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** + * + * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -835,10 +919,11 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; @@ -846,11 +931,14 @@ 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 @@ -858,37 +946,44 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -901,12 +996,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(); } @@ -915,27 +1010,28 @@ 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; @@ -950,65 +1046,81 @@ 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.
      * 
@@ -1018,6 +1130,8 @@ public interface DeleteFromColumnOrBuilder extends com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder(); } /** + * + * *
    * A Mutation which deletes cells from the specified column, optionally
    * restricting the deletions to a given timestamp range.
@@ -1025,15 +1139,16 @@ public interface DeleteFromColumnOrBuilder extends
    *
    * 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;
@@ -1041,38 +1156,42 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     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 @@ -1081,30 +1200,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 { @@ -1115,12 +1234,15 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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; + * * @return The columnQualifier. */ @java.lang.Override @@ -1131,11 +1253,14 @@ 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 @@ -1143,18 +1268,25 @@ 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.
      * 
@@ -1167,6 +1299,7 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1178,8 +1311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1202,12 +1334,10 @@ 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; @@ -1217,21 +1347,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.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; @@ -1258,87 +1386,93 @@ 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 @@ -1348,6 +1482,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1355,33 +1491,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1399,9 +1535,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
@@ -1420,7 +1556,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);
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result =
+            new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
         result.familyName_ = familyName_;
         result.columnQualifier_ = columnQualifier_;
         if (timeRangeBuilder_ == null) {
@@ -1436,38 +1573,41 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn 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.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;
@@ -1475,7 +1615,8 @@ 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_;
           onChanged();
@@ -1512,29 +1653,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                familyName_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              case 18: {
-                columnQualifier_ = input.readBytes();
-
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getTimeRangeFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  familyName_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 10
+              case 18:
+                {
+                  columnQualifier_ = input.readBytes();
+
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
+
+                  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) {
@@ -1547,19 +1690,21 @@ public Builder mergeFrom(
 
       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; @@ -1568,21 +1713,22 @@ 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 { @@ -1590,70 +1736,81 @@ 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; + * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName( - java.lang.String value) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); 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 @@ -1661,35 +1818,41 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; 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() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); return this; @@ -1697,34 +1860,47 @@ 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 timeRangeBuilder_ != null || timeRange_ != null; } /** + * + * *
        * 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.
        * 
@@ -1745,14 +1921,15 @@ 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(); onChanged(); @@ -1763,6 +1940,8 @@ public Builder setTimeRange( return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1773,7 +1952,9 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { if (timeRange_ != null) { timeRange_ = - com.google.bigtable.v2.TimestampRange.newBuilder(timeRange_).mergeFrom(value).buildPartial(); + com.google.bigtable.v2.TimestampRange.newBuilder(timeRange_) + .mergeFrom(value) + .buildPartial(); } else { timeRange_ = value; } @@ -1785,6 +1966,8 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1803,6 +1986,8 @@ public Builder clearTimeRange() { return this; } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1810,11 +1995,13 @@ public Builder clearTimeRange() { * .google.bigtable.v2.TimestampRange time_range = 3; */ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { - + onChanged(); return getTimeRangeFieldBuilder().getBuilder(); } /** + * + * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1825,11 +2012,14 @@ 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.
        * 
@@ -1837,18 +2027,22 @@ 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) { @@ -1861,12 +2055,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(); } @@ -1875,27 +2069,28 @@ 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; @@ -1910,89 +2105,101 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -2001,30 +2208,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 { @@ -2033,6 +2240,7 @@ public java.lang.String getFamilyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2044,8 +2252,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -2069,15 +2276,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; } @@ -2097,87 +2304,93 @@ 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 @@ -2187,39 +2400,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2229,9 +2444,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 @@ -2250,7 +2465,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); + com.google.bigtable.v2.Mutation.DeleteFromFamily result = + new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); result.familyName_ = familyName_; onBuilt(); return result; @@ -2260,38 +2476,41 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily 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.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; @@ -2299,7 +2518,8 @@ 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_; onChanged(); @@ -2330,17 +2550,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - familyName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + familyName_ = input.readStringRequireUtf8(); + + 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) { @@ -2353,19 +2575,21 @@ public Builder mergeFrom( 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; @@ -2374,21 +2598,22 @@ 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 { @@ -2396,61 +2621,69 @@ 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; + * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName( - java.lang.String value) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); onChanged(); 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) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2463,12 +2696,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(); } @@ -2477,27 +2710,28 @@ 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; @@ -2512,58 +2746,61 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -2575,8 +2812,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -2594,12 +2830,13 @@ public int 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; @@ -2617,88 +2854,94 @@ 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 @@ -2708,39 +2951,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2748,9 +2993,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 @@ -2769,7 +3014,8 @@ 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; } @@ -2778,38 +3024,41 @@ 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; @@ -2817,7 +3066,8 @@ 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; @@ -2844,12 +3094,13 @@ 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) { @@ -2859,6 +3110,7 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2871,12 +3123,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(); } @@ -2885,27 +3137,28 @@ 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; @@ -2920,13 +3173,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int mutationCase_ = 0; 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), @@ -2934,6 +3188,7 @@ public enum MutationCase DELETE_FROM_ROW(4), MUTATION_NOT_SET(0); private final int value; + private MutationCase(int value) { this.value = value; } @@ -2949,32 +3204,40 @@ 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 @@ -2982,21 +3245,26 @@ 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.
    * 
@@ -3006,18 +3274,21 @@ 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 @@ -3025,21 +3296,26 @@ 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.
    * 
@@ -3049,18 +3325,21 @@ 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 @@ -3068,21 +3347,26 @@ 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.
    * 
@@ -3092,18 +3376,21 @@ 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 @@ -3111,21 +3398,26 @@ 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.
    * 
@@ -3135,12 +3427,13 @@ 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; @@ -3152,8 +3445,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -3176,20 +3468,24 @@ 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; @@ -3199,7 +3495,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); @@ -3209,20 +3505,16 @@ 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: @@ -3263,130 +3555,134 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3408,9 +3704,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 @@ -3467,38 +3763,39 @@ public com.google.bigtable.v2.Mutation 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.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation)other); + return mergeFrom((com.google.bigtable.v2.Mutation) other); } else { super.mergeFrom(other); return this; @@ -3508,25 +3805,30 @@ 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(); @@ -3554,40 +3856,39 @@ 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) { @@ -3597,12 +3898,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() { @@ -3612,15 +3913,20 @@ public Builder clearMutation() { return this; } - 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 @@ -3628,11 +3934,14 @@ 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 @@ -3650,6 +3959,8 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** + * + * *
      * Set a cell's value.
      * 
@@ -3670,14 +3981,15 @@ 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(); @@ -3688,6 +4000,8 @@ public Builder setSetCell( return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3696,10 +4010,13 @@ public Builder setSetCell( */ 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; } @@ -3715,6 +4032,8 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3738,6 +4057,8 @@ public Builder clearSetCell() { return this; } /** + * + * *
      * Set a cell's value.
      * 
@@ -3748,6 +4069,8 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** + * + * *
      * Set a cell's value.
      * 
@@ -3766,6 +4089,8 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** + * + * *
      * Set a cell's value.
      * 
@@ -3773,32 +4098,44 @@ 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()); mutation_ = null; } mutationCase_ = 1; - onChanged();; + onChanged(); + ; return setCellBuilder_; } 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 @@ -3806,11 +4143,14 @@ 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 @@ -3828,6 +4168,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3848,6 +4190,8 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3866,6 +4210,8 @@ public Builder setDeleteFromColumn( return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3874,10 +4220,13 @@ 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; } @@ -3893,6 +4242,8 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3916,6 +4267,8 @@ public Builder clearDeleteFromColumn() { return this; } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3926,6 +4279,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3933,7 +4288,8 @@ 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 { @@ -3944,6 +4300,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromCo } } /** + * + * *
      * Deletes cells from a column.
      * 
@@ -3951,32 +4309,44 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromCo * .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()); mutation_ = null; } mutationCase_ = 2; - onChanged();; + onChanged(); + ; return deleteFromColumnBuilder_; } 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 @@ -3984,11 +4354,14 @@ 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 @@ -4006,6 +4379,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4026,6 +4401,8 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4044,6 +4421,8 @@ public Builder setDeleteFromFamily( return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4052,10 +4431,13 @@ 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; } @@ -4071,6 +4453,8 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4094,6 +4478,8 @@ public Builder clearDeleteFromFamily() { return this; } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4104,6 +4490,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4111,7 +4499,8 @@ 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 { @@ -4122,6 +4511,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFa } } /** + * + * *
      * Deletes cells from a column family.
      * 
@@ -4129,32 +4520,44 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFa * .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()); mutation_ = null; } mutationCase_ = 3; - onChanged();; + onChanged(); + ; return deleteFromFamilyBuilder_; } 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 @@ -4162,11 +4565,14 @@ 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 @@ -4184,6 +4590,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4204,6 +4612,8 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4222,6 +4632,8 @@ public Builder setDeleteFromRow( return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4230,10 +4642,13 @@ 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; } @@ -4249,6 +4664,8 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4272,6 +4689,8 @@ public Builder clearDeleteFromRow() { return this; } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4282,6 +4701,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4300,6 +4721,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** + * + * *
      * Deletes cells from the entire row.
      * 
@@ -4307,26 +4730,32 @@ 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()); mutation_ = null; } mutationCase_ = 4; - onChanged();; + 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); } @@ -4336,12 +4765,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(); } @@ -4350,27 +4779,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; @@ -4385,6 +4814,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java index 917f5c2315..61a6bb4cce 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -35,24 +59,32 @@ public interface MutationOrBuilder extends 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.
    * 
@@ -62,24 +94,32 @@ public interface MutationOrBuilder extends 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.
    * 
@@ -89,24 +129,32 @@ public interface MutationOrBuilder extends 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java index eed8c682bf..03d0839d7c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,38 +44,44 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -66,30 +90,32 @@ 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 { @@ -100,12 +126,15 @@ public java.lang.String getName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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 @@ -114,30 +143,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 { @@ -146,6 +175,7 @@ public java.lang.String getAppProfileId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -188,17 +217,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.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; } @@ -219,130 +247,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +388,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 @@ -375,7 +409,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); + com.google.bigtable.v2.PingAndWarmRequest result = + new com.google.bigtable.v2.PingAndWarmRequest(this); result.name_ = name_; result.appProfileId_ = appProfileId_; onBuilt(); @@ -386,38 +421,39 @@ public com.google.bigtable.v2.PingAndWarmRequest 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.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); } else { super.mergeFrom(other); return this; @@ -460,22 +496,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -488,19 +527,23 @@ public Builder mergeFrom( 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; @@ -509,21 +552,24 @@ 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 { @@ -531,57 +577,70 @@ 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) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -589,19 +648,21 @@ public Builder setNameBytes( 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; @@ -610,21 +671,22 @@ 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 { @@ -632,64 +694,71 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = 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); } @@ -699,12 +768,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(); } @@ -713,27 +782,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; @@ -748,6 +817,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java index 74df7590e3..026de7db51 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -1,53 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java similarity index 61% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java index cd66ea91ef..80eb3431fb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java @@ -1,53 +1,72 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; @@ -59,8 +78,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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); } @@ -78,12 +96,13 @@ public int 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; @@ -101,130 +120,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -232,9 +257,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 @@ -253,7 +278,8 @@ 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; } @@ -262,38 +288,39 @@ 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; @@ -328,12 +355,13 @@ 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) { @@ -343,9 +371,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); } @@ -355,12 +383,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(); } @@ -369,27 +397,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; @@ -404,6 +432,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - 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 new file mode 100644 index 0000000000..df24aaa044 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index 5b5bc09842..26955faba7 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -12,52 +29,56 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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_;
   /**
+   *
+   *
    * 
    * 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 @@ -68,11 +89,14 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_; /** + * + * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; + * * @return The rowsReturnedCount. */ @java.lang.Override @@ -83,12 +107,15 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; 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 @@ -99,11 +126,14 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_; /** + * + * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; + * * @return The cellsReturnedCount. */ @java.lang.Override @@ -112,6 +142,7 @@ public long getCellsReturnedCount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -123,8 +154,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -147,20 +177,16 @@ 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; @@ -170,21 +196,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -197,113 +220,116 @@ 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
@@ -312,33 +338,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -354,9 +379,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
@@ -375,7 +400,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);
+      com.google.bigtable.v2.ReadIterationStats result =
+          new com.google.bigtable.v2.ReadIterationStats(this);
       result.rowsSeenCount_ = rowsSeenCount_;
       result.rowsReturnedCount_ = rowsReturnedCount_;
       result.cellsSeenCount_ = cellsSeenCount_;
@@ -388,38 +414,39 @@ public com.google.bigtable.v2.ReadIterationStats 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.ReadIterationStats) {
-        return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other);
+        return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -466,32 +493,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              rowsSeenCount_ = input.readInt64();
-
-              break;
-            } // case 8
-            case 16: {
-              rowsReturnedCount_ = input.readInt64();
-
-              break;
-            } // case 16
-            case 24: {
-              cellsSeenCount_ = input.readInt64();
-
-              break;
-            } // case 24
-            case 32: {
-              cellsReturnedCount_ = input.readInt64();
-
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                rowsSeenCount_ = input.readInt64();
+
+                break;
+              } // case 8
+            case 16:
+              {
+                rowsReturnedCount_ = input.readInt64();
+
+                break;
+              } // case 16
+            case 24:
+              {
+                cellsSeenCount_ = input.readInt64();
+
+                break;
+              } // case 24
+            case 32:
+              {
+                cellsReturnedCount_ = input.readInt64();
+
+                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) {
@@ -502,14 +534,17 @@ public Builder mergeFrom(
       return this;
     }
 
-    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 @@ -517,44 +552,53 @@ 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. */ public Builder setRowsSeenCount(long value) { - + rowsSeenCount_ = value; onChanged(); 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() { - + rowsSeenCount_ = 0L; onChanged(); 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 @@ -562,43 +606,52 @@ 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. */ public Builder setRowsReturnedCount(long value) { - + rowsReturnedCount_ = value; onChanged(); return this; } /** + * + * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; + * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { - + rowsReturnedCount_ = 0L; onChanged(); 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 @@ -606,44 +659,53 @@ 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. */ public Builder setCellsSeenCount(long value) { - + cellsSeenCount_ = value; onChanged(); 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() { - + cellsSeenCount_ = 0L; onChanged(); 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 @@ -651,37 +713,43 @@ 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. */ public Builder setCellsReturnedCount(long value) { - + cellsReturnedCount_ = value; onChanged(); return this; } /** + * + * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; + * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { - + cellsReturnedCount_ = 0L; 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); } @@ -691,12 +759,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(); } @@ -705,27 +773,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; @@ -740,6 +808,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 63% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index 0258d40bd2..c9f7c6e842 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -1,50 +1,78 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index e1e5aacbd4..9bd7eef837 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -28,32 +46,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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; private volatile java.lang.Object tableName_; /** + * + * *
    * Required. The unique name of the table to which the read/modify/write rules should be
    * applied.
@@ -61,7 +82,10 @@ protected java.lang.Object newInstance(
    * `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 @@ -70,14 +94,15 @@ 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.
@@ -85,17 +110,18 @@ public java.lang.String getTableName() {
    * `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 { @@ -106,12 +132,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; 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 @@ -120,30 +149,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 { @@ -154,11 +183,14 @@ public java.lang.String getAppProfileId() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString 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]; + * * @return The rowKey. */ @java.lang.Override @@ -169,74 +201,94 @@ public com.google.protobuf.ByteString getRowKey() { public static final int RULES_FIELD_NUMBER = 3; 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; @@ -248,8 +300,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -275,12 +326,10 @@ 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_); @@ -293,21 +342,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -334,130 +380,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -478,9 +530,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 @@ -499,7 +551,8 @@ 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); int from_bitField0_ = bitField0_; result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; @@ -521,38 +574,39 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest 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.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); } else { super.mergeFrom(other); return this; @@ -560,7 +614,8 @@ 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_; onChanged(); @@ -590,9 +645,10 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest 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_); } @@ -624,40 +680,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); + case 10: + { + tableName_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - rowKey_ = input.readBytes(); + break; + } // case 10 + case 18: + { + rowKey_ = input.readBytes(); - 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(); + 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(); - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -667,10 +727,13 @@ 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.
@@ -678,14 +741,16 @@ public Builder mergeFrom(
      * `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; @@ -694,6 +759,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules should be
      * applied.
@@ -701,16 +768,17 @@ public java.lang.String getTableName() {
      * `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 { @@ -718,6 +786,8 @@ public java.lang.String getTableName() { } } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules should be
      * applied.
@@ -725,21 +795,25 @@ public java.lang.String getTableName() {
      * `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) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules should be
      * applied.
@@ -747,16 +821,21 @@ public Builder setTableName(
      * `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() { - + tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** + * + * *
      * Required. The unique name of the table to which the read/modify/write rules should be
      * applied.
@@ -764,17 +843,19 @@ public Builder clearTableName() {
      * `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) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -782,19 +863,21 @@ public Builder setTableNameBytes( 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; @@ -803,21 +886,22 @@ 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 { @@ -825,57 +909,64 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -883,11 +974,14 @@ public Builder setAppProfileIdBytes( 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 @@ -895,58 +989,72 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; } 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.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) { @@ -956,13 +1064,17 @@ 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) { @@ -972,13 +1084,17 @@ 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) { @@ -988,16 +1104,19 @@ 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(); @@ -1011,13 +1130,17 @@ 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 setRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1031,13 +1154,17 @@ 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) { @@ -1053,16 +1180,19 @@ 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(); @@ -1076,16 +1206,19 @@ 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 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()); @@ -1096,13 +1229,17 @@ 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 addRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1116,20 +1253,23 @@ 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); @@ -1137,13 +1277,17 @@ 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) { @@ -1156,13 +1300,17 @@ 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) { @@ -1175,45 +1323,56 @@ 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 { @@ -1221,62 +1380,76 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( } } /** + * + * *
      * 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_ & 0x00000001) != 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_ & 0x00000001) != 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); } @@ -1286,12 +1459,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(); } @@ -1300,27 +1473,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; @@ -1335,6 +1508,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java index bf52ebf8c2..e8a39483e1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -15,11 +33,16 @@ public interface ReadModifyWriteRowRequestOrBuilder extends
    * `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.
@@ -27,95 +50,123 @@ public interface ReadModifyWriteRowRequestOrBuilder extends
    * `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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java similarity index 67% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java index 7e34e108d7..e79c933d51 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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 @@ -62,11 +83,14 @@ 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 @@ -74,6 +98,8 @@ 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.
    * 
@@ -86,6 +112,7 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -97,8 +124,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -112,8 +138,7 @@ 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; @@ -123,17 +148,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; @@ -156,129 +181,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -292,9 +323,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 @@ -313,7 +344,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); + com.google.bigtable.v2.ReadModifyWriteRowResponse result = + new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); if (rowBuilder_ == null) { result.row_ = row_; } else { @@ -327,38 +359,39 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse 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.ReadModifyWriteRowResponse) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse)other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse) other); } else { super.mergeFrom(other); return this; @@ -366,7 +399,8 @@ 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()); } @@ -396,19 +430,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getRowFieldBuilder().getBuilder(), - extensionRegistry); - - 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); + + 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) { @@ -421,24 +455,33 @@ public Builder mergeFrom( 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 rowBuilder_ != null || row_ != null; } /** + * + * *
      * 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() { @@ -449,6 +492,8 @@ public com.google.bigtable.v2.Row getRow() { } } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -469,14 +514,15 @@ 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(); onChanged(); @@ -487,6 +533,8 @@ public Builder setRow( return this; } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -496,8 +544,7 @@ public Builder setRow( public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { if (row_ != null) { - row_ = - com.google.bigtable.v2.Row.newBuilder(row_).mergeFrom(value).buildPartial(); + row_ = com.google.bigtable.v2.Row.newBuilder(row_).mergeFrom(value).buildPartial(); } else { row_ = value; } @@ -509,6 +556,8 @@ public Builder mergeRow(com.google.bigtable.v2.Row value) { return this; } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -527,6 +576,8 @@ public Builder clearRow() { return this; } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -534,11 +585,13 @@ public Builder clearRow() { * .google.bigtable.v2.Row row = 1; */ public com.google.bigtable.v2.Row.Builder getRowBuilder() { - + onChanged(); return getRowFieldBuilder().getBuilder(); } /** + * + * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -549,11 +602,12 @@ 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.
      * 
@@ -561,21 +615,23 @@ 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); } @@ -585,12 +641,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(); } @@ -599,27 +655,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; @@ -634,6 +690,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java similarity index 58% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java index 13834b8c34..c0b096ad7f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java index a3b2433212..a02ecbb670 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/bigtable/v2/data.proto package com.google.bigtable.v2; /** + * + * *
  * Specifies an atomic read/modify/write operation on the latest value of the
  * specified column.
@@ -11,15 +28,16 @@
  *
  * 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;
@@ -27,38 +45,42 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -74,32 +96,38 @@ 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;
   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 @@ -108,30 +136,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 { @@ -142,6 +170,8 @@ public java.lang.String getFamilyName() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_; /** + * + * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -149,6 +179,7 @@ public java.lang.String getFamilyName() {
    * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -158,6 +189,8 @@ 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
@@ -165,6 +198,7 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; + * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -172,6 +206,8 @@ 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
@@ -179,6 +215,7 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; + * * @return The appendValue. */ @java.lang.Override @@ -191,6 +228,8 @@ 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.
@@ -199,6 +238,7 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; + * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -206,6 +246,8 @@ 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.
@@ -214,6 +256,7 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; + * * @return The incrementAmount. */ @java.lang.Override @@ -225,6 +268,7 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -236,8 +280,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -245,12 +288,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -265,18 +306,17 @@ 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; @@ -286,26 +326,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.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: @@ -332,8 +369,7 @@ 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: @@ -343,97 +379,104 @@ 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.
@@ -441,33 +484,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -481,9 +523,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
@@ -502,7 +544,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);
+      com.google.bigtable.v2.ReadModifyWriteRule result =
+          new com.google.bigtable.v2.ReadModifyWriteRule(this);
       result.familyName_ = familyName_;
       result.columnQualifier_ = columnQualifier_;
       if (ruleCase_ == 3) {
@@ -520,38 +563,39 @@ public com.google.bigtable.v2.ReadModifyWriteRule 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.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,17 +612,20 @@ 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();
@@ -606,32 +653,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              familyName_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                familyName_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              columnQualifier_ = input.readBytes();
+                break;
+              } // case 10
+            case 18:
+              {
+                columnQualifier_ = input.readBytes();
 
-              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:
+                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) {
@@ -641,12 +693,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() {
@@ -656,22 +708,23 @@ public Builder clearRule() {
       return this;
     }
 
-
     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; @@ -680,21 +733,22 @@ 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 { @@ -702,57 +756,64 @@ 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; + * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName( - java.lang.String value) { + public Builder setFamilyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + familyName_ = value; 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() { - + familyName_ = getDefaultInstance().getFamilyName(); 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; + * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + familyName_ = value; onChanged(); return this; @@ -760,6 +821,8 @@ public Builder setFamilyNameBytes( 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.
@@ -767,6 +830,7 @@ public Builder setFamilyNameBytes(
      * 
* * bytes column_qualifier = 2; + * * @return The columnQualifier. */ @java.lang.Override @@ -774,6 +838,8 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** + * + * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -781,19 +847,22 @@ 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(); - } - + throw new NullPointerException(); + } + columnQualifier_ = value; onChanged(); return this; } /** + * + * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -801,16 +870,19 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; + * * @return This builder for chaining. */ public Builder clearColumnQualifier() { - + columnQualifier_ = getDefaultInstance().getColumnQualifier(); 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
@@ -818,12 +890,15 @@ 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
@@ -831,6 +906,7 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; + * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -840,6 +916,8 @@ 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
@@ -847,19 +925,22 @@ 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(); - } - ruleCase_ = 3; + 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
@@ -867,6 +948,7 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; + * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -879,6 +961,8 @@ 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.
@@ -887,12 +971,15 @@ 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.
@@ -901,6 +988,7 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; + * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -910,6 +998,8 @@ 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.
@@ -918,6 +1008,7 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; + * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -928,6 +1019,8 @@ 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.
@@ -936,6 +1029,7 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; + * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -946,9 +1040,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); } @@ -958,12 +1052,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(); } @@ -972,27 +1066,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; @@ -1007,6 +1101,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java similarity index 77% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java index 740f1f6b98..c406c4fe3d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -37,11 +60,14 @@ public interface ReadModifyWriteRuleOrBuilder extends
    * 
* * 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
@@ -49,10 +75,13 @@ public interface ReadModifyWriteRuleOrBuilder extends
    * 
* * 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
@@ -60,11 +89,14 @@ public interface ReadModifyWriteRuleOrBuilder extends
    * 
* * 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.
@@ -73,10 +105,13 @@ public interface ReadModifyWriteRuleOrBuilder extends
    * 
* * 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.
@@ -85,6 +120,7 @@ public interface ReadModifyWriteRuleOrBuilder extends
    * 
* * int64 increment_amount = 4; + * * @return The incrementAmount. */ long getIncrementAmount(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java similarity index 72% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index c7c63e325d..bb9349047c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -27,30 +45,33 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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.
    * See also: RequestStats message.
@@ -58,9 +79,10 @@ protected java.lang.Object newInstance(
    *
    * 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.
      * 
@@ -69,6 +91,8 @@ public enum RequestStatsView */ REQUEST_STATS_VIEW_UNSPECIFIED(0), /** + * + * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -78,6 +102,8 @@ public enum RequestStatsView
      */
     REQUEST_STATS_NONE(1),
     /**
+     *
+     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -90,6 +116,8 @@ public enum RequestStatsView
     ;
 
     /**
+     *
+     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -98,6 +126,8 @@ public enum RequestStatsView */ 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.
@@ -107,6 +137,8 @@ public enum RequestStatsView
      */
     public static final int REQUEST_STATS_NONE_VALUE = 1;
     /**
+     *
+     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -116,7 +148,6 @@ public enum RequestStatsView
      */
     public static final int REQUEST_STATS_FULL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -141,39 +172,42 @@ 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);
-            }
-          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor
-        getValueDescriptor() {
+    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() {
       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);
     }
 
@@ -182,8 +216,7 @@ public RequestStatsView findValueByNumber(int number) {
     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;
@@ -203,13 +236,18 @@ private RequestStatsView(int value) {
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
   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 @@ -218,31 +256,33 @@ 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 { @@ -253,12 +293,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; private volatile java.lang.Object appProfileId_; /** + * + * *
    * This value specifies routing for replication. This API only accepts the
    * empty value of app_profile_id.
    * 
* * string app_profile_id = 5; + * * @return The appProfileId. */ @java.lang.Override @@ -267,30 +310,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. This API only accepts the
    * empty value of app_profile_id.
    * 
* * 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 { @@ -301,12 +344,15 @@ public java.lang.String getAppProfileId() { 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 @@ -314,12 +360,15 @@ 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 @@ -327,6 +376,8 @@ 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.
@@ -342,12 +393,15 @@ 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 @@ -355,12 +409,15 @@ 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 @@ -368,6 +425,8 @@ 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.
@@ -383,12 +442,15 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   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 @@ -399,31 +461,43 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { @SuppressWarnings("deprecation") - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.valueOf(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.valueOf(requestStatsView_); + return result == null + ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +509,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -452,7 +525,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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_); } getUnknownFields().writeTo(output); @@ -468,23 +543,21 @@ 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_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -494,29 +567,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.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -542,8 +610,7 @@ 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 = (29 * hash) + getUnknownFields().hashCode(); @@ -551,130 +618,136 @@ public int hashCode() { 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -702,9 +775,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 @@ -723,7 +796,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); + com.google.bigtable.v2.ReadRowsRequest result = + new com.google.bigtable.v2.ReadRowsRequest(this); result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; if (rowsBuilder_ == null) { @@ -746,38 +820,39 @@ public com.google.bigtable.v2.ReadRowsRequest 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.ReadRowsRequest) { - return mergeFrom((com.google.bigtable.v2.ReadRowsRequest)other); + return mergeFrom((com.google.bigtable.v2.ReadRowsRequest) other); } else { super.mergeFrom(other); return this; @@ -832,46 +907,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getRowsFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 32: { - rowsLimit_ = input.readInt64(); - - break; - } // case 32 - case 42: { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - requestStatsView_ = input.readEnum(); - - break; - } // case 48 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 32: + { + rowsLimit_ = input.readInt64(); + + break; + } // case 32 + case 42: + { + appProfileId_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + requestStatsView_ = input.readEnum(); + + break; + } // case 48 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -884,20 +962,24 @@ public Builder mergeFrom( 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; @@ -906,22 +988,25 @@ 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 { @@ -929,60 +1014,73 @@ 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) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -990,19 +1088,21 @@ public Builder setTableNameBytes( private java.lang.Object appProfileId_ = ""; /** + * + * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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; @@ -1011,21 +1111,22 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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 { @@ -1033,57 +1134,64 @@ public java.lang.String getAppProfileId() { } } /** + * + * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * string app_profile_id = 5; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * string app_profile_id = 5; + * * @return This builder for chaining. */ public Builder clearAppProfileId() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /** + * + * *
      * This value specifies routing for replication. This API only accepts the
      * empty value of app_profile_id.
      * 
* * 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = value; onChanged(); return this; @@ -1091,26 +1199,35 @@ public Builder setAppProfileIdBytes( 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 rowsBuilder_ != null || 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. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1121,6 +1238,8 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** + * + * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1142,6 +1261,8 @@ 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.
@@ -1149,8 +1270,7 @@ 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();
         onChanged();
@@ -1161,6 +1281,8 @@ public Builder setRows(
       return this;
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1171,8 +1293,7 @@ public Builder setRows(
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
         if (rows_ != null) {
-          rows_ =
-            com.google.bigtable.v2.RowSet.newBuilder(rows_).mergeFrom(value).buildPartial();
+          rows_ = com.google.bigtable.v2.RowSet.newBuilder(rows_).mergeFrom(value).buildPartial();
         } else {
           rows_ = value;
         }
@@ -1184,6 +1305,8 @@ 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.
@@ -1203,6 +1326,8 @@ public Builder clearRows() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1211,11 +1336,13 @@ public Builder clearRows() {
      * .google.bigtable.v2.RowSet rows = 2;
      */
     public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
-      
+
       onChanged();
       return getRowsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1227,11 +1354,12 @@ 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.
@@ -1240,14 +1368,17 @@ 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_;
@@ -1255,26 +1386,35 @@ 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 filterBuilder_ != null || 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. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1285,6 +1425,8 @@ 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.
@@ -1306,6 +1448,8 @@ 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.
@@ -1313,8 +1457,7 @@ 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();
         onChanged();
@@ -1325,6 +1468,8 @@ public Builder setFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1336,7 +1481,7 @@ public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
         if (filter_ != null) {
           filter_ =
-            com.google.bigtable.v2.RowFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
+              com.google.bigtable.v2.RowFilter.newBuilder(filter_).mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -1348,6 +1493,8 @@ 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.
@@ -1367,6 +1514,8 @@ 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.
@@ -1375,11 +1524,13 @@ public Builder clearFilter() {
      * .google.bigtable.v2.RowFilter filter = 3;
      */
     public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
-      
+
       onChanged();
       return getFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1391,11 +1542,12 @@ 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.
@@ -1404,27 +1556,33 @@ 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 @@ -1432,32 +1590,38 @@ 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. */ public Builder setRowsLimit(long value) { - + rowsLimit_ = value; onChanged(); 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() { - + rowsLimit_ = 0L; onChanged(); return this; @@ -1465,80 +1629,100 @@ 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. */ public Builder setRequestStatsViewValue(int value) { - + requestStatsView_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.valueOf(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.valueOf(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(); } - + requestStatsView_ = value.getNumber(); onChanged(); 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() { - + requestStatsView_ = 0; 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); } @@ -1548,12 +1732,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(); } @@ -1562,27 +1746,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; @@ -1597,6 +1781,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java index b0e35311ab..2b2e969f06 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java @@ -1,79 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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. This API only accepts the
    * empty value of app_profile_id.
    * 
* * string app_profile_id = 5; + * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** + * + * *
    * This value specifies routing for replication. This API only accepts the
    * empty value of app_profile_id.
    * 
* * 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.
@@ -84,26 +122,34 @@ public interface ReadRowsRequestOrBuilder extends
   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.
@@ -114,31 +160,40 @@ public interface ReadRowsRequestOrBuilder extends
   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(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java similarity index 80% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java index 21b75a275b..2de28f715e 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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; @@ -26,34 +44,38 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadRowsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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
@@ -62,11 +84,14 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -77,10 +102,13 @@ public interface CellChunkOrBuilder extends
      * 
* * .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
@@ -91,10 +119,13 @@ public interface CellChunkOrBuilder extends
      * 
* * .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
@@ -109,6 +140,8 @@ public interface CellChunkOrBuilder extends
     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
@@ -118,10 +151,13 @@ public interface CellChunkOrBuilder extends
      * 
* * .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
@@ -131,10 +167,13 @@ public interface CellChunkOrBuilder extends
      * 
* * .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
@@ -148,6 +187,8 @@ public interface CellChunkOrBuilder extends
     com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder();
 
     /**
+     *
+     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -160,11 +201,14 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -172,11 +216,13 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -184,10 +230,13 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -195,11 +244,14 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -207,13 +259,15 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -223,11 +277,14 @@ public interface CellChunkOrBuilder extends
      * 
* * 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
@@ -236,48 +293,61 @@ public interface CellChunkOrBuilder extends
      * 
* * 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(); @@ -285,6 +355,8 @@ public interface CellChunkOrBuilder extends public com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** + * + * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -292,15 +364,16 @@ public interface CellChunkOrBuilder extends
    *
    * 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.EMPTY;
@@ -309,38 +382,42 @@ private CellChunk() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     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;
       }
@@ -356,26 +433,31 @@ 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_;
     /**
+     *
+     *
      * 
      * 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
@@ -384,6 +466,7 @@ public int getNumber() {
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -394,6 +477,8 @@ 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
@@ -404,6 +489,7 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; + * * @return Whether the familyName field is set. */ @java.lang.Override @@ -411,6 +497,8 @@ 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
@@ -421,13 +509,18 @@ 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
@@ -447,6 +540,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
     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
@@ -456,6 +551,7 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -463,6 +559,8 @@ 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
@@ -472,6 +570,7 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return The qualifier. */ @java.lang.Override @@ -479,6 +578,8 @@ 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
@@ -497,6 +598,8 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_;
     /**
+     *
+     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -509,6 +612,7 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; + * * @return The timestampMicros. */ @java.lang.Override @@ -519,6 +623,8 @@ public long getTimestampMicros() { public static final int LABELS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList labels_; /** + * + * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -526,13 +632,15 @@ 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
@@ -540,12 +648,15 @@ public long getTimestampMicros() {
      * 
* * 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
@@ -553,6 +664,7 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -560,6 +672,8 @@ 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
@@ -567,17 +681,19 @@ 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_; /** + * + * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -587,6 +703,7 @@ public java.lang.String getLabels(int index) {
      * 
* * bytes value = 6; + * * @return The value. */ @java.lang.Override @@ -597,6 +714,8 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; 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
@@ -605,6 +724,7 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; + * * @return The valueSize. */ @java.lang.Override @@ -614,12 +734,15 @@ 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 @@ -627,12 +750,15 @@ 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 @@ -645,12 +771,15 @@ 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 @@ -658,12 +787,15 @@ 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 @@ -675,6 +807,7 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -686,8 +819,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -710,12 +842,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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); } @@ -727,20 +857,16 @@ 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; @@ -751,22 +877,20 @@ 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; @@ -776,42 +900,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.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: @@ -838,8 +954,7 @@ 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(); @@ -851,13 +966,11 @@ 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: @@ -868,87 +981,93 @@ 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 @@ -958,6 +1077,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -965,33 +1086,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1023,9 +1144,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
@@ -1044,7 +1165,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);
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
+            new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
         int from_bitField0_ = bitField0_;
         result.rowKey_ = rowKey_;
         if (familyNameBuilder_ == null) {
@@ -1080,38 +1202,41 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk 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.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;
@@ -1119,7 +1244,8 @@ 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());
         }
@@ -1149,17 +1275,20 @@ 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();
@@ -1187,62 +1316,68 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                rowKey_ = input.readBytes();
-
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getFamilyNameFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getQualifierFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 26
-              case 32: {
-                timestampMicros_ = input.readInt64();
-
-                break;
-              } // case 32
-              case 42: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureLabelsIsMutable();
-                labels_.add(s);
-                break;
-              } // case 42
-              case 50: {
-                value_ = input.readBytes();
-
-                break;
-              } // case 50
-              case 56: {
-                valueSize_ = input.readInt32();
-
-                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();
+
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 26
+              case 32:
+                {
+                  timestampMicros_ = input.readInt64();
+
+                  break;
+                } // case 32
+              case 42:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureLabelsIsMutable();
+                  labels_.add(s);
+                  break;
+                } // case 42
+              case 50:
+                {
+                  value_ = input.readBytes();
+
+                  break;
+                } // case 50
+              case 56:
+                {
+                  valueSize_ = input.readInt32();
+
+                  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) {
@@ -1252,12 +1387,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() {
@@ -1271,6 +1406,8 @@ 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
@@ -1279,6 +1416,7 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -1286,6 +1424,8 @@ 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
@@ -1294,19 +1434,22 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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
@@ -1315,10 +1458,11 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; + * * @return This builder for chaining. */ public Builder clearRowKey() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); return this; @@ -1326,8 +1470,13 @@ 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
@@ -1338,12 +1487,15 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; + * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return familyNameBuilder_ != null || 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
@@ -1354,16 +1506,21 @@ 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
@@ -1389,6 +1546,8 @@ 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
@@ -1400,8 +1559,7 @@ 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();
           onChanged();
@@ -1412,6 +1570,8 @@ public Builder setFamilyName(
         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
@@ -1427,7 +1587,9 @@ public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
           if (familyName_ != null) {
             familyName_ =
-              com.google.protobuf.StringValue.newBuilder(familyName_).mergeFrom(value).buildPartial();
+                com.google.protobuf.StringValue.newBuilder(familyName_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             familyName_ = value;
           }
@@ -1439,6 +1601,8 @@ 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
@@ -1462,6 +1626,8 @@ 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
@@ -1474,11 +1640,13 @@ public Builder clearFamilyName() {
        * .google.protobuf.StringValue family_name = 2;
        */
       public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
-        
+
         onChanged();
         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
@@ -1494,11 +1662,14 @@ 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
@@ -1511,14 +1682,17 @@ 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_;
@@ -1526,8 +1700,13 @@ 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
@@ -1537,12 +1716,15 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; + * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return qualifierBuilder_ != null || 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
@@ -1552,16 +1734,21 @@ 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
@@ -1586,6 +1773,8 @@ 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
@@ -1596,8 +1785,7 @@ 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();
           onChanged();
@@ -1608,6 +1796,8 @@ public Builder setQualifier(
         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
@@ -1622,7 +1812,9 @@ public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
           if (qualifier_ != null) {
             qualifier_ =
-              com.google.protobuf.BytesValue.newBuilder(qualifier_).mergeFrom(value).buildPartial();
+                com.google.protobuf.BytesValue.newBuilder(qualifier_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             qualifier_ = value;
           }
@@ -1634,6 +1826,8 @@ 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
@@ -1656,6 +1850,8 @@ 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
@@ -1667,11 +1863,13 @@ public Builder clearQualifier() {
        * .google.protobuf.BytesValue qualifier = 3;
        */
       public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
-        
+
         onChanged();
         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
@@ -1686,11 +1884,14 @@ 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
@@ -1702,21 +1903,26 @@ 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
@@ -1729,6 +1935,7 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; + * * @return The timestampMicros. */ @java.lang.Override @@ -1736,6 +1943,8 @@ public long getTimestampMicros() { return timestampMicros_; } /** + * + * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1748,16 +1957,19 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; + * * @param value The timestampMicros to set. * @return This builder for chaining. */ public Builder setTimestampMicros(long value) { - + timestampMicros_ = value; onChanged(); return this; } /** + * + * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1770,23 +1982,28 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; + * * @return This builder for chaining. */ public Builder clearTimestampMicros() { - + timestampMicros_ = 0L; onChanged(); return this; } - private com.google.protobuf.LazyStringList labels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList labels_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureLabelsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1794,13 +2011,15 @@ 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() { return labels_.getUnmodifiableView(); } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1808,12 +2027,15 @@ private void ensureLabelsIsMutable() {
        * 
* * 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
@@ -1821,6 +2043,7 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; + * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -1828,6 +2051,8 @@ 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
@@ -1835,14 +2060,16 @@ 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
@@ -1850,21 +2077,23 @@ public java.lang.String getLabels(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) { + public Builder setLabels(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.set(index, value); onChanged(); return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1872,20 +2101,22 @@ public Builder setLabels(
        * 
* * repeated string labels = 5; + * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels( - java.lang.String value) { + public Builder addLabels(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureLabelsIsMutable(); + throw new NullPointerException(); + } + ensureLabelsIsMutable(); labels_.add(value); onChanged(); return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1893,18 +2124,19 @@ public Builder addLabels(
        * 
* * 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_); onChanged(); return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1912,6 +2144,7 @@ public Builder addAllLabels(
        * 
* * repeated string labels = 5; + * * @return This builder for chaining. */ public Builder clearLabels() { @@ -1921,6 +2154,8 @@ public Builder clearLabels() { return this; } /** + * + * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -1928,15 +2163,15 @@ 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) { + public Builder addLabelsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); onChanged(); @@ -1945,6 +2180,8 @@ public Builder addLabelsBytes( 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
@@ -1954,6 +2191,7 @@ public Builder addLabelsBytes(
        * 
* * bytes value = 6; + * * @return The value. */ @java.lang.Override @@ -1961,6 +2199,8 @@ 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
@@ -1970,19 +2210,22 @@ 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(); - } - + throw new NullPointerException(); + } + value_ = value; 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
@@ -1992,17 +2235,20 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); onChanged(); 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
@@ -2011,6 +2257,7 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; + * * @return The valueSize. */ @java.lang.Override @@ -2018,6 +2265,8 @@ 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
@@ -2026,16 +2275,19 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; + * * @param value The valueSize to set. * @return This builder for chaining. */ public Builder setValueSize(int value) { - + valueSize_ = value; onChanged(); 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
@@ -2044,34 +2296,41 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; + * * @return This builder for chaining. */ public Builder clearValueSize() { - + valueSize_ = 0; onChanged(); 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 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() { @@ -2081,12 +2340,15 @@ 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. */ @@ -2097,12 +2359,15 @@ 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() { @@ -2115,24 +2380,30 @@ 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() { @@ -2142,12 +2413,15 @@ 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. */ @@ -2158,12 +2432,15 @@ 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() { @@ -2174,6 +2451,7 @@ public Builder clearCommitRow() { } return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2186,12 +2464,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(); } @@ -2200,27 +2478,28 @@ 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; @@ -2235,12 +2514,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; private java.util.List chunks_; /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2252,6 +2532,8 @@ public java.util.List getChun return chunks_; } /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2259,11 +2541,13 @@ 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.
    * 
@@ -2275,6 +2559,8 @@ public int getChunksCount() { return chunks_.size(); } /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2286,6 +2572,8 @@ 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.
    * 
@@ -2293,14 +2581,15 @@ 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_; /** + * + * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -2312,6 +2601,7 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; + * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2322,6 +2612,8 @@ 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
    * dictate:
@@ -2343,6 +2635,7 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; + * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2350,6 +2643,8 @@ public boolean hasRequestStats() { return requestStats_ != null; } /** + * + * *
    * If requested, provide enhanced query performance statistics. The semantics
    * dictate:
@@ -2371,13 +2666,18 @@ 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
    * dictate:
@@ -2406,6 +2706,7 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2417,8 +2718,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  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));
     }
@@ -2438,16 +2738,13 @@ 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;
@@ -2457,21 +2754,18 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.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;
@@ -2499,130 +2793,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2645,9 +2945,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 @@ -2666,7 +2966,8 @@ 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); int from_bitField0_ = bitField0_; if (chunksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2691,38 +2992,39 @@ public com.google.bigtable.v2.ReadRowsResponse 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.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); } else { super.mergeFrom(other); return this; @@ -2749,9 +3051,10 @@ 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_); } @@ -2789,37 +3092,39 @@ 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(); + 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(); - break; - } // case 18 - case 26: { - input.readMessage( - getRequestStatsFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -2829,21 +3134,29 @@ 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.
      * 
@@ -2858,6 +3171,8 @@ public java.util.List getChun } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2872,6 +3187,8 @@ public int getChunksCount() { } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2886,14 +3203,15 @@ 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(); @@ -2907,6 +3225,8 @@ public Builder setChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2925,6 +3245,8 @@ public Builder setChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2945,14 +3267,15 @@ 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(); @@ -2966,6 +3289,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -2984,6 +3309,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3002,6 +3329,8 @@ public Builder addChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3012,8 +3341,7 @@ 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); @@ -3021,6 +3349,8 @@ public Builder addAllChunks( return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3038,6 +3368,8 @@ public Builder clearChunks() { return this; } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3055,17 +3387,20 @@ 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.
      * 
@@ -3075,19 +3410,22 @@ 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 { @@ -3095,6 +3433,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** + * + * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3102,49 +3442,59 @@ 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
@@ -3156,6 +3506,7 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; + * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3163,6 +3514,8 @@ 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
@@ -3174,19 +3527,22 @@ 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(); - } - + throw new NullPointerException(); + } + lastScannedRowKey_ = value; 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
@@ -3198,10 +3554,11 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; + * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { - + lastScannedRowKey_ = getDefaultInstance().getLastScannedRowKey(); onChanged(); return this; @@ -3209,8 +3566,13 @@ 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
      * dictate:
@@ -3232,12 +3594,15 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; + * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return requestStatsBuilder_ != null || requestStats_ != null; } /** + * + * *
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3259,16 +3624,21 @@ 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
      * dictate:
@@ -3305,6 +3675,8 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3327,8 +3699,7 @@ 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();
         onChanged();
@@ -3339,6 +3710,8 @@ public Builder setRequestStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3365,7 +3738,9 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
         if (requestStats_ != null) {
           requestStats_ =
-            com.google.bigtable.v2.RequestStats.newBuilder(requestStats_).mergeFrom(value).buildPartial();
+              com.google.bigtable.v2.RequestStats.newBuilder(requestStats_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           requestStats_ = value;
         }
@@ -3377,6 +3752,8 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3411,6 +3788,8 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3434,11 +3813,13 @@ public Builder clearRequestStats() {
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
     public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
-      
+
       onChanged();
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * If requested, provide enhanced query performance statistics. The semantics
      * dictate:
@@ -3465,11 +3846,14 @@ 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
      * dictate:
@@ -3493,21 +3877,24 @@ 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);
     }
 
@@ -3517,12 +3904,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();
   }
@@ -3531,27 +3918,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;
@@ -3566,6 +3953,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
similarity index 87%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
index aef55673f3..26522bed3b 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
@@ -1,22 +1,41 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
    * 
@@ -25,6 +44,8 @@ public interface ReadRowsResponseOrBuilder extends */ com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index); /** + * + * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -33,25 +54,30 @@ public interface ReadRowsResponseOrBuilder extends */ 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
@@ -63,11 +89,14 @@ com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(
    * 
* * bytes last_scanned_row_key = 2; + * * @return The lastScannedRowKey. */ com.google.protobuf.ByteString getLastScannedRowKey(); /** + * + * *
    * If requested, provide enhanced query performance statistics. The semantics
    * dictate:
@@ -89,10 +118,13 @@ com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(
    * 
* * .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
    * dictate:
@@ -114,10 +146,13 @@ com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(
    * 
* * .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
    * dictate:
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
similarity index 78%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
index c89c82bbd1..b8f0d518de 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -12,46 +29,49 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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
@@ -71,6 +91,7 @@ protected java.lang.Object newInstance(
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; + * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -78,6 +99,8 @@ 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
@@ -97,13 +120,18 @@ 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
@@ -130,6 +158,7 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -141,8 +170,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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());
     }
@@ -156,8 +184,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;
@@ -167,17 +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.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;
@@ -199,97 +227,104 @@ 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
@@ -298,33 +333,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -338,9 +372,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
@@ -359,7 +393,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);
+      com.google.bigtable.v2.RequestLatencyStats result =
+          new com.google.bigtable.v2.RequestLatencyStats(this);
       if (frontendServerLatencyBuilder_ == null) {
         result.frontendServerLatency_ = frontendServerLatency_;
       } else {
@@ -373,38 +408,39 @@ public com.google.bigtable.v2.RequestLatencyStats 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.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -442,19 +478,20 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getFrontendServerLatencyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-
-              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);
+
+                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,8 +504,13 @@ public Builder mergeFrom(
 
     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
@@ -488,12 +530,15 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; + * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return frontendServerLatencyBuilder_ != null || 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
@@ -513,16 +558,21 @@ 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
@@ -557,6 +607,8 @@ 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
@@ -577,8 +629,7 @@ 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();
         onChanged();
@@ -589,6 +640,8 @@ public Builder setFrontendServerLatency(
       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
@@ -613,7 +666,9 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       if (frontendServerLatencyBuilder_ == null) {
         if (frontendServerLatency_ != null) {
           frontendServerLatency_ =
-            com.google.protobuf.Duration.newBuilder(frontendServerLatency_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Duration.newBuilder(frontendServerLatency_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           frontendServerLatency_ = value;
         }
@@ -625,6 +680,8 @@ 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
@@ -657,6 +714,8 @@ 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
@@ -678,11 +737,13 @@ public Builder clearFrontendServerLatency() {
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
     public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
-      
+
       onChanged();
       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
@@ -707,11 +768,14 @@ 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
@@ -733,21 +797,24 @@ 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);
     }
 
@@ -757,12 +824,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();
   }
@@ -771,27 +838,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;
@@ -806,6 +873,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestLatencyStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
similarity index 85%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
index 6b7ffed2cc..956f3a7af7 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -27,10 +45,13 @@ public interface RequestLatencyStatsOrBuilder extends
    * 
* * .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
@@ -50,10 +71,13 @@ public interface RequestLatencyStatsOrBuilder extends
    * 
* * .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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
index 1ff7d23aa2..9f648b3022 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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.
@@ -13,51 +30,55 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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;
     }
@@ -73,30 +94,35 @@ 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 @@ -104,22 +130,27 @@ 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.
@@ -130,12 +161,13 @@ 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;
@@ -147,8 +179,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -162,8 +193,9 @@ 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;
@@ -173,7 +205,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);
@@ -183,8 +215,7 @@ 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:
@@ -213,97 +244,103 @@ 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.
@@ -313,33 +350,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -352,9 +388,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
@@ -390,38 +426,39 @@ public com.google.bigtable.v2.RequestStats 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.RequestStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestStats)other);
+        return mergeFrom((com.google.bigtable.v2.RequestStats) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -431,13 +468,15 @@ 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();
@@ -465,19 +504,20 @@ 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) {
@@ -487,12 +527,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() {
@@ -502,16 +542,21 @@ public Builder clearStatsView() {
       return this;
     }
 
-
     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 @@ -519,12 +564,15 @@ 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 @@ -542,6 +590,8 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { } } /** + * + * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -563,6 +613,8 @@ 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.
@@ -582,6 +634,8 @@ public Builder setFullReadStatsView(
       return this;
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -591,10 +645,13 @@ 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;
         }
@@ -610,6 +667,8 @@ 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.
@@ -634,6 +693,8 @@ public Builder clearFullReadStatsView() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -645,6 +706,8 @@ 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.
@@ -664,6 +727,8 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       }
     }
     /**
+     *
+     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -672,26 +737,32 @@ 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());
         statsView_ = null;
       }
       statsViewCase_ = 1;
-      onChanged();;
+      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);
     }
 
@@ -701,12 +772,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();
   }
@@ -715,27 +786,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;
@@ -750,6 +821,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
similarity index 66%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
index 6683ed11d8..00b8f2cad4 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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/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
new file mode 100644
index 0000000000..512d606b8b
--- /dev/null
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
@@ -0,0 +1,118 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
similarity index 69%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
index 8aede9912f..6c0fc5c63f 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -13,15 +30,16 @@
  *
  * 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_ = "";
@@ -29,38 +47,42 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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;
   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 @@ -68,11 +90,14 @@ 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 @@ -81,29 +106,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 { @@ -114,12 +139,15 @@ public java.lang.String getZoneId() { public static final int CLUSTER_ID_FIELD_NUMBER = 2; 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 @@ -127,12 +155,15 @@ 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 @@ -141,30 +172,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 { @@ -173,6 +204,7 @@ public java.lang.String getClusterId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,8 +216,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -215,7 +246,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); @@ -224,13 +255,11 @@ 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; @@ -256,97 +285,103 @@ 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
@@ -356,33 +391,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -394,9 +428,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
@@ -415,7 +449,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);
+      com.google.bigtable.v2.ResponseParams result =
+          new com.google.bigtable.v2.ResponseParams(this);
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -435,38 +470,39 @@ public com.google.bigtable.v2.ResponseParams 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.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,22 +547,25 @@ 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) {
@@ -536,33 +575,39 @@ 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; @@ -571,20 +616,21 @@ 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 { @@ -592,30 +638,35 @@ public java.lang.String getZoneId() { } } /** + * + * *
      * 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) { + public Builder setZoneId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; zoneId_ = value; onChanged(); return this; } /** + * + * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; + * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -625,20 +676,22 @@ 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) { + public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; zoneId_ = value; onChanged(); @@ -647,31 +700,36 @@ public Builder setZoneIdBytes( 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; @@ -680,21 +738,22 @@ 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 { @@ -702,32 +761,37 @@ public java.lang.String getClusterId() { } } /** + * + * *
      * 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) { + public Builder setClusterId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; clusterId_ = value; 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() { @@ -737,29 +801,31 @@ 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) { + public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; clusterId_ = 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); } @@ -769,12 +835,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(); } @@ -783,27 +849,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; @@ -818,6 +884,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java similarity index 64% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java index 38d697405f..118eef7410 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java @@ -1,70 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/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 new file mode 100644 index 0000000000..9bfba64405 --- /dev/null +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java @@ -0,0 +1,67 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index aa2e66fd30..8fe37c4d46 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -11,15 +28,16 @@
  *
  * 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();
@@ -27,25 +45,24 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Row();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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);
   }
@@ -53,6 +70,8 @@ protected java.lang.Object newInstance(
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString 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.
@@ -60,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -70,6 +90,8 @@ public com.google.protobuf.ByteString getKey() { public static final int FAMILIES_FIELD_NUMBER = 2; 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.
@@ -82,6 +104,8 @@ 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.
@@ -90,11 +114,13 @@ 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.
@@ -107,6 +133,8 @@ 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.
@@ -119,6 +147,8 @@ 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.
@@ -127,12 +157,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;
@@ -144,8 +174,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public 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_);
     }
@@ -162,12 +191,10 @@ 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;
@@ -177,17 +204,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.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;
   }
@@ -210,97 +235,103 @@ 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.
@@ -308,33 +339,30 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,8 +379,7 @@ 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;
     }
 
@@ -392,38 +419,39 @@ public com.google.bigtable.v2.Row 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.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row)other);
+        return mergeFrom((com.google.bigtable.v2.Row) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -453,9 +481,10 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            familiesBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getFamiliesFieldBuilder() : null;
+            familiesBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getFamiliesFieldBuilder()
+                    : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -487,30 +516,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              key_ = input.readBytes();
+            case 10:
+              {
+                key_ = input.readBytes();
 
-              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:
+                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) {
@@ -520,10 +550,13 @@ 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.
@@ -531,6 +564,7 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; + * * @return The key. */ @java.lang.Override @@ -538,6 +572,8 @@ 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.
@@ -545,19 +581,22 @@ 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(); - } - + throw new NullPointerException(); + } + key_ = value; 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.
@@ -565,28 +604,35 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; + * * @return This builder for chaining. */ public Builder clearKey() { - + key_ = getDefaultInstance().getKey(); onChanged(); return this; } private java.util.List families_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000001; - } + } } 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.
@@ -602,6 +648,8 @@ 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.
@@ -617,6 +665,8 @@ public int getFamiliesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -632,6 +682,8 @@ 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.
@@ -639,8 +691,7 @@ 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();
@@ -654,6 +705,8 @@ public Builder setFamilies(
       return this;
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -661,8 +714,7 @@ public Builder setFamilies(
      *
      * 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());
@@ -673,6 +725,8 @@ public Builder setFamilies(
       return this;
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -694,6 +748,8 @@ 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.
@@ -701,8 +757,7 @@ 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();
@@ -716,6 +771,8 @@ public Builder addFamilies(
       return this;
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -723,8 +780,7 @@ public Builder addFamilies(
      *
      * 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());
@@ -735,6 +791,8 @@ public Builder addFamilies(
       return this;
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -742,8 +800,7 @@ public Builder addFamilies(
      *
      * 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());
@@ -754,6 +811,8 @@ public Builder addFamilies(
       return this;
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -765,8 +824,7 @@ 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);
@@ -774,6 +832,8 @@ 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.
@@ -792,6 +852,8 @@ 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.
@@ -810,6 +872,8 @@ 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.
@@ -817,11 +881,12 @@ 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.
@@ -829,14 +894,16 @@ public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(
      *
      * 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.
@@ -844,8 +911,8 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List 
-         getFamiliesOrBuilderList() {
+    public java.util.List
+        getFamiliesOrBuilderList() {
       if (familiesBuilder_ != null) {
         return familiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -853,6 +920,8 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -861,10 +930,12 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
      * 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.
@@ -872,12 +943,13 @@ 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.
@@ -885,27 +957,29 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(
      *
      * 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_ & 0x00000001) != 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_ & 0x00000001) != 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);
     }
 
@@ -915,12 +989,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();
   }
@@ -929,27 +1003,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;
@@ -964,6 +1038,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.Row getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
similarity index 82%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
index a4d2c5ad3d..89d7c853b7 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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
@@ -37,48 +54,50 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  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
@@ -87,9 +106,10 @@ public interface ChainOrBuilder extends
      *
      * 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
@@ -100,6 +120,8 @@ public interface ChainOrBuilder extends
      */
     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
@@ -110,6 +132,8 @@ public interface ChainOrBuilder extends
      */
     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
@@ -118,9 +142,10 @@ public interface ChainOrBuilder extends
      *
      * 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
@@ -129,57 +154,62 @@ public interface ChainOrBuilder extends
      *
      * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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
@@ -193,6 +223,8 @@ 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
@@ -202,11 +234,13 @@ 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
@@ -220,6 +254,8 @@ 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
@@ -233,6 +269,8 @@ 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
@@ -242,12 +280,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;
@@ -259,8 +297,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -274,8 +311,7 @@ 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;
@@ -285,15 +321,14 @@ public int 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;
     }
@@ -314,88 +349,94 @@ 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
@@ -405,39 +446,41 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +495,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 @@ -473,7 +516,8 @@ 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); int from_bitField0_ = bitField0_; if (filtersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -492,38 +536,41 @@ public com.google.bigtable.v2.RowFilter.Chain 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.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; @@ -550,9 +597,10 @@ 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_); } @@ -584,25 +632,26 @@ 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) { @@ -612,21 +661,28 @@ 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
@@ -643,6 +699,8 @@ 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
@@ -659,6 +717,8 @@ 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
@@ -675,6 +735,8 @@ 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
@@ -683,8 +745,7 @@ 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();
@@ -698,6 +759,8 @@ 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
@@ -718,6 +781,8 @@ 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
@@ -740,6 +805,8 @@ 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
@@ -748,8 +815,7 @@ 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();
@@ -763,6 +829,8 @@ 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
@@ -771,8 +839,7 @@ public Builder addFilters(
        *
        * 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());
@@ -783,6 +850,8 @@ 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
@@ -803,6 +872,8 @@ 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
@@ -815,8 +886,7 @@ 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);
@@ -824,6 +894,8 @@ 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
@@ -843,6 +915,8 @@ 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
@@ -862,6 +936,8 @@ 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
@@ -870,11 +946,12 @@ 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
@@ -883,14 +960,16 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
        *
        * 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
@@ -899,8 +978,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List 
-           getFiltersOrBuilderList() {
+      public java.util.List
+          getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -908,6 +987,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -917,10 +998,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
        * 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
@@ -929,12 +1012,13 @@ 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
@@ -943,24 +1027,27 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
        *
        * 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) {
@@ -973,12 +1060,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();
     }
@@ -987,27 +1074,28 @@ 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;
@@ -1022,14 +1110,16 @@ 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.
@@ -1058,9 +1148,10 @@ public interface InterleaveOrBuilder extends
      *
      * 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.
@@ -1091,6 +1182,8 @@ public interface InterleaveOrBuilder extends
      */
     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.
@@ -1121,6 +1214,8 @@ public interface InterleaveOrBuilder extends
      */
     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.
@@ -1149,9 +1244,10 @@ public interface InterleaveOrBuilder extends
      *
      * 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.
@@ -1180,10 +1276,11 @@ public interface InterleaveOrBuilder extends
      *
      * 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.
@@ -1191,47 +1288,51 @@ com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
    *
    * 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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;
     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.
@@ -1265,6 +1366,8 @@ 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.
@@ -1294,11 +1397,13 @@ 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.
@@ -1332,6 +1437,8 @@ 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.
@@ -1365,6 +1472,8 @@ 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.
@@ -1394,12 +1503,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;
@@ -1411,8 +1520,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -1426,8 +1534,7 @@ 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;
@@ -1437,15 +1544,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;
     }
@@ -1466,88 +1573,94 @@ 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
@@ -1557,6 +1670,8 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1564,33 +1679,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1605,9 +1720,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
@@ -1626,7 +1741,8 @@ 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);
         int from_bitField0_ = bitField0_;
         if (filtersBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
@@ -1645,38 +1761,41 @@ public com.google.bigtable.v2.RowFilter.Interleave 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.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;
@@ -1703,9 +1822,10 @@ 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_);
             }
@@ -1737,25 +1857,26 @@ 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) {
@@ -1765,21 +1886,28 @@ 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.
@@ -1816,6 +1944,8 @@ 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.
@@ -1852,6 +1982,8 @@ 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.
@@ -1888,6 +2020,8 @@ 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.
@@ -1916,8 +2050,7 @@ 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();
@@ -1931,6 +2064,8 @@ 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.
@@ -1971,6 +2106,8 @@ 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.
@@ -2013,6 +2150,8 @@ 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.
@@ -2041,8 +2180,7 @@ 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();
@@ -2056,6 +2194,8 @@ 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.
@@ -2084,8 +2224,7 @@ public Builder addFilters(
        *
        * 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());
@@ -2096,6 +2235,8 @@ 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.
@@ -2136,6 +2277,8 @@ 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.
@@ -2168,8 +2311,7 @@ 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);
@@ -2177,6 +2319,8 @@ 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.
@@ -2216,6 +2360,8 @@ 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.
@@ -2255,6 +2401,8 @@ 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.
@@ -2283,11 +2431,12 @@ 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.
@@ -2316,14 +2465,16 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
        *
        * 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.
@@ -2352,8 +2503,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List 
-           getFiltersOrBuilderList() {
+      public java.util.List
+          getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -2361,6 +2512,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
         }
       }
       /**
+       *
+       *
        * 
        * 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.
@@ -2390,10 +2543,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
        * 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.
@@ -2422,12 +2577,13 @@ 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.
@@ -2456,24 +2612,27 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
        *
        * 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) {
@@ -2486,12 +2645,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();
     }
@@ -2500,27 +2659,28 @@ 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;
@@ -2535,34 +2695,42 @@ 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.
@@ -2573,26 +2741,34 @@ public interface ConditionOrBuilder extends
     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.
@@ -2603,6 +2779,8 @@ public interface ConditionOrBuilder extends
     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
@@ -2610,10 +2788,13 @@ public interface ConditionOrBuilder extends
      * 
* * .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
@@ -2621,10 +2802,13 @@ public interface ConditionOrBuilder extends
      * 
* * .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
@@ -2636,6 +2820,8 @@ public interface ConditionOrBuilder extends
     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.
@@ -2647,52 +2833,56 @@ public interface ConditionOrBuilder extends
    *
    * 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();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    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 @@ -2700,19 +2890,26 @@ 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.
@@ -2728,12 +2925,15 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
     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 @@ -2741,19 +2941,26 @@ 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.
@@ -2769,6 +2976,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
     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
@@ -2776,6 +2985,7 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; + * * @return Whether the falseFilter field is set. */ @java.lang.Override @@ -2783,6 +2993,8 @@ 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
@@ -2790,13 +3002,18 @@ 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
@@ -2811,6 +3028,7 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2822,8 +3040,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public 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());
       }
@@ -2843,16 +3060,13 @@ 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;
@@ -2862,27 +3076,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.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;
@@ -2912,88 +3124,94 @@ 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
@@ -3003,6 +3221,8 @@ 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.
@@ -3014,33 +3234,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) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3066,9 +3286,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
@@ -3087,7 +3307,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);
+        com.google.bigtable.v2.RowFilter.Condition result =
+            new com.google.bigtable.v2.RowFilter.Condition(this);
         if (predicateFilterBuilder_ == null) {
           result.predicateFilter_ = predicateFilter_;
         } else {
@@ -3111,38 +3332,41 @@ public com.google.bigtable.v2.RowFilter.Condition 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.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;
@@ -3186,33 +3410,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                input.readMessage(
-                    getPredicateFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 10
-              case 18: {
-                input.readMessage(
-                    getTrueFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getFalseFilterFieldBuilder().getBuilder(),
-                    extensionRegistry);
-
-                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);
+
+                  break;
+                } // case 10
+              case 18:
+                {
+                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
+
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
+
+                  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) {
@@ -3225,36 +3448,49 @@ public Builder mergeFrom(
 
       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 predicateFilterBuilder_ != null || 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. */ 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.
@@ -3276,6 +3512,8 @@ 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.
@@ -3283,8 +3521,7 @@ 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();
           onChanged();
@@ -3295,6 +3532,8 @@ public Builder setPredicateFilter(
         return this;
       }
       /**
+       *
+       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3306,7 +3545,9 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
           if (predicateFilter_ != null) {
             predicateFilter_ =
-              com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_).mergeFrom(value).buildPartial();
+                com.google.bigtable.v2.RowFilter.newBuilder(predicateFilter_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             predicateFilter_ = value;
           }
@@ -3318,6 +3559,8 @@ 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.
@@ -3337,6 +3580,8 @@ 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.
@@ -3345,11 +3590,13 @@ public Builder clearPredicateFilter() {
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
-        
+
         onChanged();
         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.
@@ -3361,11 +3608,14 @@ 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.
@@ -3374,14 +3624,17 @@ 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_;
@@ -3389,36 +3642,49 @@ 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 trueFilterBuilder_ != null || 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. */ 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.
@@ -3440,6 +3706,8 @@ 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.
@@ -3447,8 +3715,7 @@ 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();
           onChanged();
@@ -3459,6 +3726,8 @@ public Builder setTrueFilter(
         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.
@@ -3470,7 +3739,9 @@ public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
           if (trueFilter_ != null) {
             trueFilter_ =
-              com.google.bigtable.v2.RowFilter.newBuilder(trueFilter_).mergeFrom(value).buildPartial();
+                com.google.bigtable.v2.RowFilter.newBuilder(trueFilter_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             trueFilter_ = value;
           }
@@ -3482,6 +3753,8 @@ 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.
@@ -3501,6 +3774,8 @@ 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.
@@ -3509,11 +3784,13 @@ public Builder clearTrueFilter() {
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
       public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
-        
+
         onChanged();
         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.
@@ -3525,11 +3802,14 @@ 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.
@@ -3538,14 +3818,17 @@ 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_;
@@ -3553,8 +3836,13 @@ 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
@@ -3562,12 +3850,15 @@ 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 falseFilterBuilder_ != null || 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
@@ -3575,16 +3866,21 @@ 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
@@ -3607,6 +3903,8 @@ 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
@@ -3615,8 +3913,7 @@ 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();
           onChanged();
@@ -3627,6 +3924,8 @@ public Builder setFalseFilter(
         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
@@ -3639,7 +3938,9 @@ public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
           if (falseFilter_ != null) {
             falseFilter_ =
-              com.google.bigtable.v2.RowFilter.newBuilder(falseFilter_).mergeFrom(value).buildPartial();
+                com.google.bigtable.v2.RowFilter.newBuilder(falseFilter_)
+                    .mergeFrom(value)
+                    .buildPartial();
           } else {
             falseFilter_ = value;
           }
@@ -3651,6 +3952,8 @@ 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
@@ -3671,6 +3974,8 @@ 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
@@ -3680,11 +3985,13 @@ public Builder clearFalseFilter() {
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
       public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
-        
+
         onChanged();
         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
@@ -3697,11 +4004,14 @@ 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
@@ -3711,18 +4021,22 @@ 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) {
@@ -3735,12 +4049,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();
     }
@@ -3749,27 +4063,28 @@ 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;
@@ -3784,13 +4099,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int filterCase_ = 0;
   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),
@@ -3813,6 +4129,7 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
+
     private FilterCase(int value) {
       this.value = value;
     }
@@ -3828,48 +4145,71 @@ 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 @@ -3877,22 +4217,27 @@ 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.
@@ -3903,19 +4248,22 @@ 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 @@ -3923,22 +4271,27 @@ 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.
@@ -3949,19 +4302,22 @@ 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 @@ -3969,22 +4325,27 @@ 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.
@@ -3995,13 +4356,15 @@ 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
@@ -4060,6 +4423,7 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; + * * @return Whether the sink field is set. */ @java.lang.Override @@ -4067,6 +4431,8 @@ public boolean hasSink() { return filterCase_ == 16; } /** + * + * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4125,6 +4491,7 @@ public boolean hasSink() {
    * 
* * bool sink = 16; + * * @return The sink. */ @java.lang.Override @@ -4137,12 +4504,15 @@ 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 @@ -4150,12 +4520,15 @@ 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 @@ -4168,12 +4541,15 @@ 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 @@ -4181,12 +4557,15 @@ 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 @@ -4199,6 +4578,8 @@ 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
@@ -4210,6 +4591,7 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; + * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4217,6 +4599,8 @@ 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
@@ -4228,6 +4612,7 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; + * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4240,12 +4625,15 @@ 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 @@ -4253,12 +4641,15 @@ 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 @@ -4271,6 +4662,8 @@ 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 `:`
@@ -4281,12 +4674,15 @@ 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 `:`
@@ -4297,6 +4693,7 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; + * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4307,8 +4704,7 @@ 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; @@ -4317,6 +4713,8 @@ 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 `:`
@@ -4327,18 +4725,17 @@ 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; } @@ -4350,6 +4747,8 @@ public java.lang.String getFamilyNameRegexFilter() { public static final int COLUMN_QUALIFIER_REGEX_FILTER_FIELD_NUMBER = 6; /** + * + * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4360,6 +4759,7 @@ public java.lang.String getFamilyNameRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; + * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4367,6 +4767,8 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** + * + * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4377,6 +4779,7 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; + * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4389,11 +4792,14 @@ 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 @@ -4401,21 +4807,26 @@ 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.
    * 
@@ -4425,18 +4836,21 @@ 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 @@ -4444,21 +4858,26 @@ 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.
    * 
@@ -4468,13 +4887,15 @@ 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
@@ -4484,6 +4905,7 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; + * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -4491,6 +4913,8 @@ 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
@@ -4500,6 +4924,7 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; + * * @return The valueRegexFilter. */ @java.lang.Override @@ -4512,11 +4937,14 @@ 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 @@ -4524,21 +4952,26 @@ 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.
    * 
@@ -4548,13 +4981,15 @@ 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,
@@ -4562,6 +4997,7 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
    * 
* * int32 cells_per_row_offset_filter = 10; + * * @return Whether the cellsPerRowOffsetFilter field is set. */ @java.lang.Override @@ -4569,6 +5005,8 @@ 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,
@@ -4576,6 +5014,7 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; + * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -4588,6 +5027,8 @@ 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,
@@ -4595,6 +5036,7 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; + * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -4602,6 +5044,8 @@ 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,
@@ -4609,6 +5053,7 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; + * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -4621,6 +5066,8 @@ 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,
@@ -4631,6 +5078,7 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; + * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -4638,6 +5086,8 @@ 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,
@@ -4648,6 +5098,7 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; + * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -4660,11 +5111,14 @@ 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 @@ -4672,11 +5126,14 @@ 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 @@ -4689,6 +5146,8 @@ 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
@@ -4704,12 +5163,15 @@ 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
@@ -4725,6 +5187,7 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; + * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -4735,8 +5198,7 @@ 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; @@ -4745,6 +5207,8 @@ 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
@@ -4760,18 +5224,17 @@ 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; } @@ -4782,6 +5245,7 @@ public java.lang.String getApplyLabelTransformer() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4793,8 +5257,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -4805,15 +5268,13 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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_); @@ -4822,43 +5283,34 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) 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_); @@ -4873,86 +5325,92 @@ 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_); @@ -4965,7 +5423,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); @@ -4975,81 +5433,63 @@ 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: @@ -5080,18 +5520,15 @@ 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; @@ -5099,8 +5536,10 @@ 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; @@ -5140,8 +5579,7 @@ 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; @@ -5155,97 +5593,103 @@ 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
@@ -5279,33 +5723,32 @@ protected Builder newBuilderForType(
    *
    * 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) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5333,9 +5776,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
@@ -5445,38 +5888,39 @@ public com.google.bigtable.v2.RowFilter 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.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5486,89 +5930,109 @@ 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();
@@ -5596,121 +6060,132 @@ 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) {
@@ -5720,12 +6195,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() {
@@ -5735,16 +6210,21 @@ public Builder clearFilter() {
       return this;
     }
 
-
     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 @@ -5752,12 +6232,15 @@ 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 @@ -5775,6 +6258,8 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** + * + * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5796,6 +6281,8 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5803,8 +6290,7 @@ 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();
@@ -5815,6 +6301,8 @@ public Builder setChain(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5824,10 +6312,13 @@ public Builder setChain(
      */
     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;
         }
@@ -5843,6 +6334,8 @@ public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5867,6 +6360,8 @@ public Builder clearChain() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5878,6 +6373,8 @@ public com.google.bigtable.v2.RowFilter.Chain.Builder getChainBuilder() {
       return getChainFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5897,6 +6394,8 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -5905,33 +6404,45 @@ 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());
         filter_ = null;
       }
       filterCase_ = 1;
-      onChanged();;
+      onChanged();
+      ;
       return chainBuilder_;
     }
 
     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 @@ -5939,12 +6450,15 @@ 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 @@ -5962,6 +6476,8 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** + * + * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -5983,6 +6499,8 @@ public Builder setInterleave(com.google.bigtable.v2.RowFilter.Interleave value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6002,6 +6520,8 @@ public Builder setInterleave(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6011,10 +6531,13 @@ 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;
         }
@@ -6030,6 +6553,8 @@ public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6054,6 +6579,8 @@ public Builder clearInterleave() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6065,6 +6592,8 @@ public com.google.bigtable.v2.RowFilter.Interleave.Builder getInterleaveBuilder(
       return getInterleaveFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6084,6 +6613,8 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6092,33 +6623,45 @@ 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());
         filter_ = null;
       }
       filterCase_ = 2;
-      onChanged();;
+      onChanged();
+      ;
       return interleaveBuilder_;
     }
 
     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 @@ -6126,12 +6669,15 @@ 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 @@ -6149,6 +6695,8 @@ 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.
@@ -6170,6 +6718,8 @@ 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.
@@ -6189,6 +6739,8 @@ public Builder setCondition(
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6198,10 +6750,13 @@ 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;
         }
@@ -6217,6 +6772,8 @@ 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.
@@ -6241,6 +6798,8 @@ public Builder clearCondition() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6252,6 +6811,8 @@ 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.
@@ -6271,6 +6832,8 @@ 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.
@@ -6279,25 +6842,33 @@ 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());
         filter_ = null;
       }
       filterCase_ = 3;
-      onChanged();;
+      onChanged();
+      ;
       return conditionBuilder_;
     }
 
     /**
+     *
+     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6356,12 +6927,15 @@ 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
@@ -6420,6 +6994,7 @@ public boolean hasSink() {
      * 
* * bool sink = 16; + * * @return The sink. */ public boolean getSink() { @@ -6429,6 +7004,8 @@ public boolean getSink() { return false; } /** + * + * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6487,6 +7064,7 @@ public boolean getSink() {
      * 
* * bool sink = 16; + * * @param value The sink to set. * @return This builder for chaining. */ @@ -6497,6 +7075,8 @@ public Builder setSink(boolean value) { return this; } /** + * + * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6555,6 +7135,7 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; + * * @return This builder for chaining. */ public Builder clearSink() { @@ -6567,24 +7148,30 @@ 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() { @@ -6594,12 +7181,15 @@ 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. */ @@ -6610,12 +7200,15 @@ 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() { @@ -6628,24 +7221,30 @@ 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() { @@ -6655,12 +7254,15 @@ 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. */ @@ -6671,12 +7273,15 @@ 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() { @@ -6689,6 +7294,8 @@ 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
@@ -6700,12 +7307,15 @@ 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
@@ -6717,6 +7327,7 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; + * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -6726,6 +7337,8 @@ 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
@@ -6737,19 +7350,22 @@ 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(); - } - filterCase_ = 4; + 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
@@ -6761,6 +7377,7 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; + * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -6773,24 +7390,30 @@ 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() { @@ -6800,12 +7423,15 @@ 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. */ @@ -6816,12 +7442,15 @@ 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() { @@ -6834,6 +7463,8 @@ public Builder clearRowSampleFilter() { } /** + * + * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -6844,6 +7475,7 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -6851,6 +7483,8 @@ 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 `:`
@@ -6861,6 +7495,7 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -6870,8 +7505,7 @@ 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; @@ -6882,6 +7516,8 @@ 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 `:`
@@ -6892,19 +7528,18 @@ 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; } @@ -6914,6 +7549,8 @@ 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 `:`
@@ -6924,20 +7561,22 @@ public java.lang.String getFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; + * * @param value The familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilter( - java.lang.String value) { + public Builder setFamilyNameRegexFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 5; + 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 `:`
@@ -6948,6 +7587,7 @@ public Builder setFamilyNameRegexFilter(
      * 
* * string family_name_regex_filter = 5; + * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -6959,6 +7599,8 @@ 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 `:`
@@ -6969,15 +7611,15 @@ 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) { + public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; onChanged(); @@ -6985,6 +7627,8 @@ public Builder setFamilyNameRegexFilterBytes( } /** + * + * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -6995,12 +7639,15 @@ public Builder setFamilyNameRegexFilterBytes(
      * 
* * 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.
@@ -7011,6 +7658,7 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; + * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7020,6 +7668,8 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7030,19 +7680,22 @@ 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(); - } - filterCase_ = 6; + throw new NullPointerException(); + } + filterCase_ = 6; filter_ = value; onChanged(); return this; } /** + * + * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7053,6 +7706,7 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; + * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7065,13 +7719,19 @@ 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 @@ -7079,11 +7739,14 @@ 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 @@ -7101,6 +7764,8 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7121,6 +7786,8 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7139,6 +7806,8 @@ public Builder setColumnRangeFilter( return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7147,10 +7816,13 @@ 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; } @@ -7166,6 +7838,8 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7189,6 +7863,8 @@ public Builder clearColumnRangeFilter() { return this; } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7199,6 +7875,8 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7217,6 +7895,8 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** + * + * *
      * Matches only cells from columns within the given range.
      * 
@@ -7224,32 +7904,42 @@ 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; - onChanged();; + onChanged(); + ; return columnRangeFilterBuilder_; } 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 @@ -7257,11 +7947,14 @@ 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 @@ -7279,6 +7972,8 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7299,6 +7994,8 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7317,6 +8014,8 @@ public Builder setTimestampRangeFilter( return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7325,10 +8024,13 @@ 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; } @@ -7344,6 +8046,8 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7367,6 +8071,8 @@ public Builder clearTimestampRangeFilter() { return this; } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7377,6 +8083,8 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7395,6 +8103,8 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** + * + * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -7402,25 +8112,31 @@ 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; - onChanged();; + onChanged(); + ; return timestampRangeFilterBuilder_; } /** + * + * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -7430,12 +8146,15 @@ 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
@@ -7445,6 +8164,7 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; + * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -7454,6 +8174,8 @@ 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
@@ -7463,19 +8185,22 @@ 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(); - } - filterCase_ = 9; + 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
@@ -7485,6 +8210,7 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; + * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -7497,13 +8223,19 @@ 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 @@ -7511,11 +8243,14 @@ 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 @@ -7533,6 +8268,8 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7553,14 +8290,15 @@ 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(); @@ -7571,6 +8309,8 @@ public Builder setValueRangeFilter( return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7579,10 +8319,13 @@ public Builder setValueRangeFilter( */ 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; } @@ -7598,6 +8341,8 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7621,6 +8366,8 @@ public Builder clearValueRangeFilter() { return this; } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7631,6 +8378,8 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7649,6 +8398,8 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** + * + * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -7656,25 +8407,31 @@ 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; - onChanged();; + onChanged(); + ; return valueRangeFilterBuilder_; } /** + * + * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -7682,12 +8439,15 @@ 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,
@@ -7695,6 +8455,7 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -7704,6 +8465,8 @@ 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,
@@ -7711,6 +8474,7 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -7721,6 +8485,8 @@ 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,
@@ -7728,6 +8494,7 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; + * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -7740,6 +8507,8 @@ public Builder clearCellsPerRowOffsetFilter() { } /** + * + * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -7747,12 +8516,15 @@ 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,
@@ -7760,6 +8532,7 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -7769,6 +8542,8 @@ 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,
@@ -7776,6 +8551,7 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -7786,6 +8562,8 @@ 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,
@@ -7793,6 +8571,7 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; + * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -7805,6 +8584,8 @@ 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,
@@ -7815,12 +8596,15 @@ 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,
@@ -7831,6 +8615,7 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -7840,6 +8625,8 @@ 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,
@@ -7850,6 +8637,7 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -7860,6 +8648,8 @@ 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,
@@ -7870,6 +8660,7 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; + * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -7882,22 +8673,28 @@ 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() { @@ -7907,11 +8704,14 @@ 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. */ @@ -7922,11 +8722,14 @@ 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() { @@ -7939,6 +8742,8 @@ 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
@@ -7954,6 +8759,7 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; + * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -7961,6 +8767,8 @@ 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
@@ -7976,6 +8784,7 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; + * * @return The applyLabelTransformer. */ @java.lang.Override @@ -7985,8 +8794,7 @@ 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; @@ -7997,6 +8805,8 @@ 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
@@ -8012,19 +8822,18 @@ 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; } @@ -8034,6 +8843,8 @@ 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
@@ -8049,20 +8860,22 @@ public java.lang.String getApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; + * * @param value The applyLabelTransformer to set. * @return This builder for chaining. */ - public Builder setApplyLabelTransformer( - java.lang.String value) { + public Builder setApplyLabelTransformer(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - filterCase_ = 19; + 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
@@ -8078,6 +8891,7 @@ public Builder setApplyLabelTransformer(
      * 
* * string apply_label_transformer = 19; + * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -8089,6 +8903,8 @@ 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
@@ -8104,23 +8920,23 @@ 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) { + public Builder setApplyLabelTransformerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + 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); } @@ -8130,12 +8946,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(); } @@ -8144,27 +8960,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; @@ -8179,6 +8995,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java similarity index 94% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java index 7041e263cc..2f3f4f8402 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java @@ -1,33 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -38,26 +62,34 @@ public interface RowFilterOrBuilder extends
   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.
@@ -68,26 +100,34 @@ public interface RowFilterOrBuilder extends
   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.
@@ -98,6 +138,8 @@ public interface RowFilterOrBuilder extends
   com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder();
 
   /**
+   *
+   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -156,10 +198,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -218,53 +263,68 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -276,10 +336,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -291,32 +354,41 @@ public interface RowFilterOrBuilder extends
    * 
* * 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 `:`
@@ -327,10 +399,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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 `:`
@@ -341,10 +416,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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 `:`
@@ -355,12 +433,14 @@ public interface RowFilterOrBuilder extends
    * 
* * 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.
@@ -371,10 +451,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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.
@@ -385,29 +468,38 @@ public interface RowFilterOrBuilder extends
    * 
* * 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.
    * 
@@ -417,24 +509,32 @@ public interface RowFilterOrBuilder extends 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.
    * 
@@ -444,6 +544,8 @@ public interface RowFilterOrBuilder extends 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
@@ -453,10 +555,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -466,29 +571,38 @@ public interface RowFilterOrBuilder extends
    * 
* * 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.
    * 
@@ -498,6 +612,8 @@ public interface RowFilterOrBuilder extends 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,
@@ -505,10 +621,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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,
@@ -516,11 +635,14 @@ public interface RowFilterOrBuilder extends
    * 
* * 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,
@@ -528,10 +650,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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,
@@ -539,11 +664,14 @@ public interface RowFilterOrBuilder extends
    * 
* * 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,
@@ -554,10 +682,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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,
@@ -568,30 +699,39 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -607,10 +747,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -626,10 +769,13 @@ public interface RowFilterOrBuilder extends
    * 
* * 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
@@ -645,10 +791,10 @@ public interface RowFilterOrBuilder extends
    * 
* * string apply_label_transformer = 19; + * * @return The bytes for applyLabelTransformer. */ - com.google.protobuf.ByteString - getApplyLabelTransformerBytes(); + com.google.protobuf.ByteString getApplyLabelTransformerBytes(); public com.google.bigtable.v2.RowFilter.FilterCase getFilterCase(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java similarity index 68% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java index 6909229c95..c1943694c3 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -15,11 +33,14 @@ public interface RowOrBuilder extends
    * 
* * 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.
@@ -27,9 +48,10 @@ public interface RowOrBuilder extends
    *
    * 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.
@@ -39,6 +61,8 @@ public interface RowOrBuilder extends
    */
   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.
@@ -48,6 +72,8 @@ public interface RowOrBuilder extends
    */
   int getFamiliesCount();
   /**
+   *
+   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -55,9 +81,10 @@ public interface RowOrBuilder extends
    *
    * 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.
@@ -65,6 +92,5 @@ public interface RowOrBuilder extends
    *
    * 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
similarity index 70%
rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
index f52b9753a1..a9cdcc73c4 100644
--- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
+++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
@@ -1,61 +1,80 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -71,32 +90,38 @@ 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; 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; } @@ -112,30 +137,36 @@ 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 @@ -143,11 +174,14 @@ 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 @@ -160,11 +194,14 @@ 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 @@ -172,11 +209,14 @@ 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 @@ -189,11 +229,14 @@ 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 @@ -201,11 +244,14 @@ 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 @@ -218,11 +264,14 @@ 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 @@ -230,11 +279,14 @@ 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 @@ -246,6 +298,7 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,23 +310,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 (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); } @@ -285,24 +333,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; @@ -312,7 +360,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); @@ -322,12 +370,10 @@ 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: @@ -335,12 +381,10 @@ 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: @@ -385,130 +429,134 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +568,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 @@ -564,38 +612,39 @@ public com.google.bigtable.v2.RowRange 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.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange)other); + return mergeFrom((com.google.bigtable.v2.RowRange) other); } else { super.mergeFrom(other); return this; @@ -605,30 +654,36 @@ 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(); @@ -656,32 +711,37 @@ 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) { @@ -691,12 +751,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() { @@ -708,10 +768,9 @@ 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() { @@ -721,24 +780,29 @@ public Builder clearEndKey() { return this; } - /** + * + * *
      * 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() { @@ -748,29 +812,35 @@ 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(); - } - startKeyCase_ = 1; + 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() { @@ -783,22 +853,28 @@ 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() { @@ -808,29 +884,35 @@ 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(); - } - startKeyCase_ = 2; + 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() { @@ -843,22 +925,28 @@ 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() { @@ -868,29 +956,35 @@ 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(); - } - endKeyCase_ = 3; + 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() { @@ -903,22 +997,28 @@ 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() { @@ -928,29 +1028,35 @@ 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(); - } - endKeyCase_ = 4; + 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() { @@ -961,9 +1067,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); } @@ -973,12 +1079,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(); } @@ -987,27 +1093,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; @@ -1022,6 +1128,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java similarity index 74% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java index e92110f0a7..9f5960e966 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java @@ -1,84 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java similarity index 73% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java index 3e21d4a49b..86d5b281a9 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); @@ -26,25 +44,24 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RowSet(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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); } @@ -52,35 +69,43 @@ protected java.lang.Object newInstance( public static final int ROW_KEYS_FIELD_NUMBER = 1; 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. */ @@ -91,6 +116,8 @@ public com.google.protobuf.ByteString getRowKeys(int index) { public static final int ROW_RANGES_FIELD_NUMBER = 2; private java.util.List rowRanges_; /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -102,6 +129,8 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -109,11 +138,13 @@ 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.
    * 
@@ -125,6 +156,8 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -136,6 +169,8 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -143,12 +178,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; @@ -160,8 +195,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -180,15 +214,13 @@ 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; @@ -198,17 +230,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.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; } @@ -233,130 +263,133 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -373,8 +406,7 @@ 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; } @@ -418,38 +450,39 @@ public com.google.bigtable.v2.RowSet 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.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet)other); + return mergeFrom((com.google.bigtable.v2.RowSet) other); } else { super.mergeFrom(other); return this; @@ -486,9 +519,10 @@ 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_); } @@ -520,31 +554,32 @@ 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) { @@ -554,45 +589,57 @@ 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_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * 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. */ @@ -600,66 +647,76 @@ 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) { + public Builder setRowKeys(int index, com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - ensureRowKeysIsMutable(); + 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(); - } - ensureRowKeysIsMutable(); + 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() { @@ -670,18 +727,24 @@ 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.
      * 
@@ -696,6 +759,8 @@ public java.util.List getRowRangesList() { } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -710,6 +775,8 @@ public int getRowRangesCount() { } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -724,14 +791,15 @@ 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(); @@ -745,6 +813,8 @@ public Builder setRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -763,6 +833,8 @@ public Builder setRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -783,14 +855,15 @@ 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(); @@ -804,14 +877,15 @@ public Builder addRowRanges( 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()); @@ -822,6 +896,8 @@ public Builder addRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -840,6 +916,8 @@ public Builder addRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -850,8 +928,7 @@ 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); @@ -859,6 +936,8 @@ public Builder addAllRowRanges( return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -876,6 +955,8 @@ public Builder clearRowRanges() { return this; } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -893,39 +974,44 @@ 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 { @@ -933,6 +1019,8 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( } } /** + * + * *
      * Contiguous row ranges included in the set.
      * 
@@ -940,49 +1028,54 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( * 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); } @@ -992,12 +1085,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(); } @@ -1006,27 +1099,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; @@ -1041,6 +1134,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java index 5839ce968a..31f8fb9677 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java @@ -1,51 +1,79 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
    * 
@@ -54,6 +82,8 @@ public interface RowSetOrBuilder extends */ com.google.bigtable.v2.RowRange getRowRanges(int index); /** + * + * *
    * Contiguous row ranges included in the set.
    * 
@@ -62,21 +92,23 @@ public interface RowSetOrBuilder extends */ 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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java index dde5b49404..6bebd6765d 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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_ = ""; @@ -26,39 +44,45 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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 @@ -67,31 +91,33 @@ 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 { @@ -102,12 +128,15 @@ public java.lang.String getTableName() { public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; 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 @@ -116,30 +145,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 { @@ -148,6 +177,7 @@ public java.lang.String getAppProfileId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -159,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -190,17 +219,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.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; } @@ -221,130 +249,136 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -356,9 +390,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 @@ -377,7 +411,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); + com.google.bigtable.v2.SampleRowKeysRequest result = + new com.google.bigtable.v2.SampleRowKeysRequest(this); result.tableName_ = tableName_; result.appProfileId_ = appProfileId_; onBuilt(); @@ -388,38 +423,39 @@ public com.google.bigtable.v2.SampleRowKeysRequest 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.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); } else { super.mergeFrom(other); return this; @@ -462,22 +498,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - tableName_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - appProfileId_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + tableName_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + appProfileId_ = input.readStringRequireUtf8(); + + 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) { @@ -490,20 +529,24 @@ public Builder mergeFrom( 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; @@ -512,22 +555,25 @@ 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 { @@ -535,60 +581,73 @@ 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) = { ... } + * + * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName( - java.lang.String value) { + public Builder setTableName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tableName_ = value; 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() { - + tableName_ = getDefaultInstance().getTableName(); 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) = { ... } + * + * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes( - com.google.protobuf.ByteString value) { + public Builder setTableNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tableName_ = value; onChanged(); return this; @@ -596,19 +655,21 @@ public Builder setTableNameBytes( 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; @@ -617,21 +678,22 @@ 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 { @@ -639,64 +701,71 @@ 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; + * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId( - java.lang.String value) { + public Builder setAppProfileId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + appProfileId_ = value; 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() { - + appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); 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) { + public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + appProfileId_ = 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); } @@ -706,12 +775,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(); } @@ -720,27 +789,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; @@ -755,6 +824,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java index 0aa1c48e6e..530f63e413 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java @@ -1,55 +1,85 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java similarity index 70% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java index 49ff5a7872..64730abc0c 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java @@ -1,56 +1,77 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * 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,
@@ -62,6 +83,7 @@ protected java.lang.Object newInstance(
    * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -72,6 +94,8 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; 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
@@ -80,6 +104,7 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; + * * @return The offsetBytes. */ @java.lang.Override @@ -88,6 +113,7 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -99,8 +125,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -117,12 +142,10 @@ 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; @@ -132,17 +155,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.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; } @@ -157,137 +179,142 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -299,9 +326,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 @@ -320,7 +347,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); + com.google.bigtable.v2.SampleRowKeysResponse result = + new com.google.bigtable.v2.SampleRowKeysResponse(this); result.rowKey_ = rowKey_; result.offsetBytes_ = offsetBytes_; onBuilt(); @@ -331,38 +359,39 @@ public com.google.bigtable.v2.SampleRowKeysResponse 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.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); } else { super.mergeFrom(other); return this; @@ -403,22 +432,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - rowKey_ = input.readBytes(); - - break; - } // case 10 - case 16: { - offsetBytes_ = input.readInt64(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + rowKey_ = input.readBytes(); + + break; + } // case 10 + case 16: + { + offsetBytes_ = input.readInt64(); + + 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) { @@ -431,6 +463,8 @@ public Builder mergeFrom( 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,
@@ -442,6 +476,7 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; + * * @return The rowKey. */ @java.lang.Override @@ -449,6 +484,8 @@ 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,
@@ -460,19 +497,22 @@ 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(); - } - + throw new NullPointerException(); + } + rowKey_ = value; 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,
@@ -484,17 +524,20 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; + * * @return This builder for chaining. */ public Builder clearRowKey() { - + rowKey_ = getDefaultInstance().getRowKey(); onChanged(); 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
@@ -503,6 +546,7 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; + * * @return The offsetBytes. */ @java.lang.Override @@ -510,6 +554,8 @@ 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
@@ -518,16 +564,19 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; + * * @param value The offsetBytes to set. * @return This builder for chaining. */ public Builder setOffsetBytes(long value) { - + offsetBytes_ = value; onChanged(); 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
@@ -536,17 +585,18 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; + * * @return This builder for chaining. */ public Builder clearOffsetBytes() { - + offsetBytes_ = 0L; 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); } @@ -556,12 +606,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(); } @@ -570,27 +620,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; @@ -605,6 +655,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java similarity index 65% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java index 09387cbab8..a6dac71fbb 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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,
@@ -19,11 +37,14 @@ public interface SampleRowKeysResponseOrBuilder extends
    * 
* * 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
@@ -32,6 +53,7 @@ public interface SampleRowKeysResponseOrBuilder extends
    * 
* * int64 offset_bytes = 2; + * * @return The offsetBytes. */ long getOffsetBytes(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java similarity index 66% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java index a10d619304..b570b88de0 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java @@ -1,60 +1,81 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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_; /** + * + * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; + * * @return The startTimestampMicros. */ @java.lang.Override @@ -65,11 +86,14 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_; /** + * + * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; + * * @return The endTimestampMicros. */ @java.lang.Override @@ -78,6 +102,7 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -89,8 +114,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -107,12 +131,10 @@ 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; @@ -122,17 +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.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; } @@ -145,140 +165,143 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -290,9 +313,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 @@ -311,7 +334,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); + com.google.bigtable.v2.TimestampRange result = + new com.google.bigtable.v2.TimestampRange(this); result.startTimestampMicros_ = startTimestampMicros_; result.endTimestampMicros_ = endTimestampMicros_; onBuilt(); @@ -322,38 +346,39 @@ public com.google.bigtable.v2.TimestampRange 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.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange)other); + return mergeFrom((com.google.bigtable.v2.TimestampRange) other); } else { super.mergeFrom(other); return this; @@ -394,22 +419,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - startTimestampMicros_ = input.readInt64(); - - break; - } // case 8 - case 16: { - endTimestampMicros_ = input.readInt64(); - - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + startTimestampMicros_ = input.readInt64(); + + break; + } // case 8 + case 16: + { + endTimestampMicros_ = input.readInt64(); + + 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) { @@ -420,13 +448,16 @@ public Builder mergeFrom( return this; } - 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 @@ -434,42 +465,51 @@ 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. */ public Builder setStartTimestampMicros(long value) { - + startTimestampMicros_ = value; onChanged(); return this; } /** + * + * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; + * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { - + startTimestampMicros_ = 0L; onChanged(); 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 @@ -477,37 +517,43 @@ 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. */ public Builder setEndTimestampMicros(long value) { - + endTimestampMicros_ = value; onChanged(); return this; } /** + * + * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; + * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { - + endTimestampMicros_ = 0L; 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); } @@ -517,12 +563,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(); } @@ -531,27 +577,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; @@ -566,6 +612,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java similarity index 51% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java index 2e4edee88b..a531978ae1 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java @@ -1,28 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java similarity index 69% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java index 7ca8a2532c..b9ad1af05f 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java @@ -1,61 +1,82 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - 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; 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; } @@ -71,32 +92,38 @@ 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; 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; } @@ -112,30 +139,36 @@ 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 @@ -143,11 +176,14 @@ 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 @@ -160,11 +196,14 @@ 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 @@ -172,11 +211,14 @@ 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 @@ -189,11 +231,14 @@ 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 @@ -201,11 +246,14 @@ 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 @@ -218,11 +266,14 @@ 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 @@ -230,11 +281,14 @@ 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 @@ -246,6 +300,7 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,23 +312,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 (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); } @@ -285,24 +335,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; @@ -312,7 +362,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); @@ -322,12 +372,10 @@ 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: @@ -335,12 +383,10 @@ 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: @@ -385,130 +431,135 @@ 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) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -520,9 +571,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 @@ -564,38 +615,39 @@ public com.google.bigtable.v2.ValueRange 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.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange)other); + return mergeFrom((com.google.bigtable.v2.ValueRange) other); } else { super.mergeFrom(other); return this; @@ -605,30 +657,36 @@ 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(); @@ -656,32 +714,37 @@ 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) { @@ -691,12 +754,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() { @@ -708,10 +771,9 @@ 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() { @@ -721,24 +783,29 @@ public Builder clearEndValue() { return this; } - /** + * + * *
      * 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() { @@ -748,29 +815,35 @@ 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(); - } - startValueCase_ = 1; + 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() { @@ -783,22 +856,28 @@ 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() { @@ -808,29 +887,35 @@ 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(); - } - startValueCase_ = 2; + 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() { @@ -843,22 +928,28 @@ 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() { @@ -868,29 +959,35 @@ 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(); - } - endValueCase_ = 3; + 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() { @@ -903,22 +1000,28 @@ 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() { @@ -928,29 +1031,35 @@ 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(); - } - endValueCase_ = 4; + 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() { @@ -961,9 +1070,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); } @@ -973,12 +1082,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(); } @@ -987,27 +1096,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; @@ -1022,6 +1131,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ValueRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java similarity index 75% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java rename to proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java index 7bd8805068..dbd31d63bd 100644 --- a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java @@ -1,84 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto rename to proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto rename to proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto rename to proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto similarity index 100% rename from owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto rename to proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto From 8646570a546c48e07a99d4f4eb2d20caad72fde3 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 24 Oct 2022 21:09:33 +0000 Subject: [PATCH 3/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e35b92e4d..5b46671eb5 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.2') +implementation platform('com.google.cloud:libraries-bom:26.1.3') implementation 'com.google.cloud:google-cloud-bigtable' ``` From 2109978500344a924b63afe11ae36628b9eac5b0 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 3 Nov 2022 21:02:11 +0000 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b46671eb5..9cb8f0dd5a 100644 --- a/README.md +++ b/README.md @@ -49,20 +49,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.1.3') +implementation platform('com.google.cloud:libraries-bom:26.1.4') implementation 'com.google.cloud:google-cloud-bigtable' ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigtable:2.14.1' +implementation 'com.google.cloud:google-cloud-bigtable:2.15.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.14.1" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.15.0" ``` ## Authentication From 0045ddd311c38f3e9f1a132e6318a3c193bb804e Mon Sep 17 00:00:00 2001 From: Kristen O'Leary Date: Thu, 10 Nov 2022 15:49:10 -0500 Subject: [PATCH 5/7] update clirr ignored differences --- .../clirr-ignored-differences.xml | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml index 3aebe65a28..63367b68a8 100644 --- a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml +++ b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml @@ -16,4 +16,50 @@ com/google/bigtable/v2/*OrBuilder boolean has*(*) + + 7002 + com/google/bigtable/v2/RequestStats* + ** + + + 8001 + com/google/bigtable/v2/AllReadStats* + + + 8001 + com/google/bigtable/v2/ReadEfficiencyStats* + + + 8001 + com/google/bigtable/v2/ReadIteratorStats* + + + 8001 + com/google/bigtable/v2/RequestStats$StatsCase + + + 6001 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_EFFICIENCY + + + 6011 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_EFFICIENCY_VALUE + + + 6011 + com/google/bigtable/v2/RequestStats + ALL_READ_STATS_FIELD_NUMBER + + + 6011 + com/google/bigtable/v2/RequestStats + READ_EFFICIENCY_STATS_FIELD_NUMBER + + + 6003 + com/google/bigtable/v2/ReadRowsRequest$RequestStatsView + REQUEST_STATS_FULL_VALUE + \ No newline at end of file From d8334eb79cf554afd8013833255f0cc6f0cb1f65 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 10 Nov 2022 20:51:56 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cb8f0dd5a..5ca313ed26 100644 --- a/README.md +++ b/README.md @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-bigtable' If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-bigtable:2.15.0' +implementation 'com.google.cloud:google-cloud-bigtable:2.15.1' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.15.0" +libraryDependencies += "com.google.cloud" % "google-cloud-bigtable" % "2.15.1" ``` ## Authentication From 634881083320bb0fe500ec2a3157ba95b1e1ccd4 Mon Sep 17 00:00:00 2001 From: Kristen O'Leary Date: Thu, 10 Nov 2022 15:58:18 -0500 Subject: [PATCH 7/7] add note --- proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml index 63367b68a8..3dc1fb98dc 100644 --- a/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml +++ b/proto-google-cloud-bigtable-v2/clirr-ignored-differences.xml @@ -16,6 +16,9 @@ com/google/bigtable/v2/*OrBuilder boolean has*(*) + + + 7002 com/google/bigtable/v2/RequestStats*